Category "ios"

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

what after in-band account registration

i am using xmpp framework to develop an chat application using openfire server. The users are registered on the server using In Band account registration. But i

Error: CUICatalog: Invalid asset name supplied: (null), or invalid scale factor : 2.000000

TableViewApplication[1458:70b] CUICatalog: Invalid asset name supplied: (null), or invalid scale factor: 2.000000 Getting this warning while working with Ta

Proper way to check if a sub view is outside of the content size of its parent UIScrollView

I have an app that has a UIScrollView with an array of thumbnails for videos. When you touch the thumbnail, the thumbnail begins playing the video. However, whe

CoreData valueForKey issue on Xcode 13

I have an issue in a client's app where calls to valueForKey: on an NSManagedObject subclass are failing for particular CoreData properties when the app is buil

No such module 'FirebaseFirestore'

Trying to build my app but can't it always gives me problems with FirebaseFirestore. It seems to recognize FirebaseStorage and Firebase fine but not FireStore.

Big configuration object as a parameter in Swift?

In JavaScript/TypeScript, we have this pattern that is often used in libraries where you have one optional parameter as the last function argument which default

Swift: Triggering sound effects during a timer

I've created a super simple count down application. You press a button, and the count down runs. The end result calculating looks like this: 10.0 9.999 9.998 .