Category "ios"

iOS SwiftyZeroMQ get status

I am using SwiftyZeroMQ in iOS for zeromq. I can connect and communicate via sockets. But issue is I can't find anyway to know how can I get event/status that s

NotificationCenter to pass data in Swift

I am working on a test project in Swift 3. I am trying to pass textField string from one class to another class using NotificationCenter. I am trying to workout

Decrease iOS Application size to App Store

I am trying to submit an application in App Store, and I need to decrease its memory a little bit, if this is possible. I tried a method which I am gonna descri

Firebase Authentication iOS 12 invalid token

I have an App that makes use of Firebase Authentication using phone SMS verification and recaptcha (no APNS) The App works fine with the Authentication process

SKVideoNode with color blend using SKEffectNode crashes

I need to blend a color to the video as it done with textures in SKSpriteNode. The video has transparency (HEVC), you can download it here. Doc says that a vide

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