Category "ios"

How can I make animation with CAEmitterLayer on SwiftUI?

How can I convert this code to SwiftUI. It's a snow effect. I used CAEmitterLayer but I don't know how to use it in SwfitUI. There is no addSublayer in SwiftUI.

TypeError: Undefined is not an object (evaluating '_pushNotifications.pushNotifications.configure') React Native

I am new to React Native and am trying to create push notifications on iOS with push-notification-ios and react-native-push-notification. I am following a numbe

Why does my Flutter app crash at startup on iOS?

I'm trying to build a simple app using Flutter for iOS and Android, but the app crashes on startup when I try to run it on an iPhone (Android runs fine). I don

Access call history on iOS

In my iOS application I need to get all call history (dialled,recieved,missed) from an iOS device and display as a list in my application. So many answers are

UItextView delegate swift - textViewDidBeginEditing not called

I've seen the other topics dealing with UITextView delegate, but can't seem to find where my issue come from. Here is my code, but when I modify my UITextView,

Flutter build iOS got error: Requested but did not find extension point with identifier

I just upgraded to Xcode 13.3-beta, running a flutter project got this error: Error output from Xcode build: ↳ 2022-03-02 17:45:38.148 xcodebuild[6284

How retrieve the normal for a given face of ARMeshGeometry?

given a ARMeshAnchor 'meshAnchor', i can retrieve its geometry and faces : let geometry = meshAnchor.geometry let faces = geometry.faces var i = Int(0) while i

DestinationViewController Segue and UINavigationController swift

So I have a prepareForSegue method like this: override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) { if segue.identifier == "fromEve

How to dismiss an AlertDialog on a FlatButton click?

I have the following AlertDialog. showDialog( context: context, child: new AlertDialog( title: const Text("Location disab

Nativescript-audio not working on iOS device

I've used this plugin to record audio and play recorded audio. https://github.com/bradmartin/nativescript-audio When I build both iOS and Android platforms, it

SwiftUI edges visible after using overlay

I'm trying to create rounded edges in one of my views using overlay. .background(Color.gray.opacity(0.2)) .overlay( RoundedRectangle(cornerRadius: 10)

UIDate Picker valuechanged does not update the first spin, but does every spin after.. iOS

I have a UIDate Picker embedded in a static TableViewCell and at the moment I disabled most of the code except the code responsible for the date picker. I'm us

How to Use Custom yolov4 weights in iOS app

I following these steps: Obtained YOLO v4 weights after training on my custom dataset Converted weights to TensorFlow checkpoints Converted Tensorflow checkpoin

Xcode 13 crashing when adding a dictionary to the Info.plist from a target

Xcode Version 13.3 beta 3 (13E5104i) or Version 13.2.1 (13C100) When I add a dictionary to the Info.plist file from the Info tab in the project (for example wit

SwiftUI Get Coordinates of TextField or any View

I'm struggling to find a way in SwiftUI to get the x,y coordinates of the origin of a TextField (or any view). I can certainly provide a position or offset to m

Integrated Form Doesn't Move When Text Fields Are Selected

I have embedded a ScrollView within a UIViewController which contains multiple text fields that will act as a simple form to collect user data (Name, email, etc

Integrated Form Doesn't Move When Text Fields Are Selected

I have embedded a ScrollView within a UIViewController which contains multiple text fields that will act as a simple form to collect user data (Name, email, etc

How to underline a UILabel in swift?

How to underline a UILabel in Swift? I searched the Objective-C ones but couldn't quite get them to work in Swift.

Firebase dynamic link won't open Appstore when the app is not installed

I have set up the Firebase project and dynamic link. Tapping Firebase dynamic link while the app is installed: directly open the app, both on iOS and Android. T

Xcode: failed to get the task for process

I've run in release mode my app on a iPhone with Xcode 4. Everything worked great until when I switch to the simulator and I switched back to the iPhone. After