Category "ios"

"Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral" issue while installing react native on macOS Big Sur

I was trying to install React Native on my system, and found that it failed to install CocoaPods dependencies which is required by that template error. sudo arc

How to call a function from a different swift file

I have multiple swift files of type UIViewController in my Xcode 6 beta-2 project. I basically want to know some data from file A to use in file B. My files are

how i can scan ID Card(NIC) in flutter and also get data from it?

I am building an app in flutter and in that app one step is to scan an id card (NIC) and get their name, DOB, expiry date, etc, so I am confusing that how I can

Draw route directions using Google Maps iOS

I am getting a GMSPolyline to custom location but I am not getting a route direction (GMSPolyline) from user location to some custom location. What I have done

Firebase In-app messaging opens the URL with link only once in swift

I have a strange problem with firebase in-app message for iOS in swift. the message is getting displayed during the launch as expected,i was sending a URL with

Make a UIButton programmatically in Swift

I am trying to build UIs programmatically with Swift. How can I get this action working? override func viewDidLoad() { super.viewDidLoad() // Do any add

iOS image editor in swift

Is it possible to us iOS default image editor my existing app, like screenshot

How to set the value of checkboxes with a single variable

Hello folks of StackOverflow today I bring forth an optimization problem for you in swift As shown in the screenshot I have checkboxes in my screen and I have

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