Category "ios"

iOS 10 don't call Notification Service Extension

I tried to implement the new Notification Service Extension, but I have a problem. In my NotificationService.swift file I have this code: class NotificationSe

How do I cross dissolve when pushing views on a UINavigationController in iOS 7?

If I simply call the push method with: [self.navigationController pushViewController:viewController animated:YES]; then it uses a push animation. How do I c

Make Line chart gradient color go from line to bottom - SwiftUI

I am trying to make it so the line chart display a gradient color from the line and down but I can't seem to get it to only go from the line. Instead it just fi

App Store Connect Warns - Invalid Document Configuration

I have submitted a Single View Swift iOS application to App Store Connect. The application is not Document Based. The application uploads successfully, but I g

ADB equivalent for iOS device

I was looking some instrument like Android ADB in order to debug iOS devices. I've found iOS instrument, a tool of the XCode that is able to debug app on mobile

Can't select a folder with UIViewRepresentable & UIDocumentPicker

I'm trying to create a picker for a user to choose a folder in a SwiftUI app. However, there doesn't seem to be any SwiftUI document picker yet so I was attempt

Swift won't recognize /n line breaks after base64 string decoding

I am trying to take my base64 decoded string and print it, but the result does not recognize the line breaks. For example, print("Hi \n hello \n hi") Print l

How to fix "Invalid API key format" while implement the comet-chat in iOS

The problem is that when I am going to initialize the comet-chat then they generate the error like - "Terminating app due to uncaught exception 'NSInvalidA

How to implement a regex for password validation in Swift?

I want to implement a regex validaton for passwords in Swift? I have tried the following regex, but not successful ([(0-9)(A-Z)(!@#$%ˆ&*+-=<>)]+

CABasicAnimation to make NSView flip

I'm making a card game for mac and I'm using a CABasicAnimation to making the card flip around. It's almost working, but it could be a bit better. As it works

How can I find out if an SKTexture is the placeholder image

In SpriteKit, if you load an image with the [SKTexture textureWithImageNamed:] method, it will first search your bundles, then atlases, if it fails to find your

There are still screenshot uploads in progress. Apple App Submission

Whenever I tried to Submit Review for my app, I got the following error message even I've uploaded all the required screenshots. Unable to Submit for Review The

Can I hide the text of the Sign In with Apple button? (a.k.a ASAuthorizationAppleIDButton)?

I am implementing Sign In with Apple on my iOS app (SwiftUI). In SwiftUI, I can use the 'SignInWithAppleButton' (https://morioh.com/p/524e0408008c), this button

Apple Transporter verification strange errors

When trying to verify an ios app using Transporter before sending to store, it spits out 8 strange errors/issues that I have no idea where to start from And in

ScrollView contentOffset reset after pushViewController

I'm experiencing a problem with ScrollView, my scrollView has 640 of width, from 0 to 320 it's a mapView, from 320 to 640 it's a tableView. I have a segmentedBu

iOS Google SignIn refreshed idToken has missing profile info in backend authentication

I use GoogleSignIn for iOS (GoogleSignIn-iOS), v6.1.0, in my iOS app. All calls to my backend have the idToken in the request header. The id token is verified i

How to change the color of `color set` programmatically in iOS?

There is any way to change the color of color set programmatically. I use theme color in Xcode and now I want this color come from API. Anyone can solve my

iOS constraints doesn't allow to use multiplier

I am trying to layout some custom views and when I try to activate the constraints, Xcode says that I can't use multiplier. Here is an example of the code: cla

Incorrect bundle identifier for Expo App when uploading .ipa to the App Store with Transporter.app

After building an Expo application archive via expo build:ios, uploading the .ipa file via Transporter.app fails with this error: Could not create a temporary

Amplitude analytics for iOS: setting up logging level

Is there a way to set up logging level for Amplitude iOS SDK similar to Android's Amplitude.getInstance().enableLogging() and Amplitude.getInstance().setLogLeve