Category "ios"

SwiftUI - 2 Handle Range Slider

Is there a way, using SwiftUI, to create a Slider with 2 handles? I'm working on a project that that requires settings a low and high point for a random value t

SwiftUI app life cycle iOS14 where to put AppDelegate code?

Now that AppDelegate and SceneDelegate are removed from SwiftUI, where do I put the code that I used to have in SceneDelegate and AppDelegate, Firebase config

'FirebaseCore/FirebaseCore.h' file not found while building for Release Mode in Xcode Version 11.5 (11E608c)

I am able to run the app in Debug mode in XCODE and simulator without any errors. But when I build for Release Mode the build fails with below 2 errors: 'Fireb

SwiftUI: Button with image got gray border on real iPhone but works fine on simulation mode

I'm trying to make simple app, the app seems working well on simulation mode, but test on my iPhone the button looks different from simulation iPhone, link the

Update a provisioning profile using App Store Connect API. How?

I would like to re-generate a set of provisioning profiles using App Store Connect API. There are methods for creating new profiles, deleting existing, but I se

How to exclude UIViewControllers other than views from Swizzle Method?

I am trying to override viewDidAppear() methods of my custom ViewControllers and i found a solution using swizzle method. It works but when keyboard is visible,

MacOS swift: having trouble in obtaining output data from Pipe()

I am trying to run command lines to take screenshots in my Xcode project and using Pipe() to log output data. When I build and run this project in Xcode, I can

Unicode Normalization not appropriate for ASCII-8BIT

13: from /usr/local/bin/pod:23:in `<main>' 12: from /usr/local/bin/pod:23:in `load' 11: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.0.beta.2/bin/pod

iOS App sometimes crashes on Release Mode (EXC_BAD_ACCESS (SIGSEGV))

Currently experiencing a problem where the app sometime crashes only in release mode. Any ideas on how to decode the IOS Crash log, i've attached a small sectio

Enable SwiftLint only for the new files

I have a pretty huge iOS(legacy) project in which I want to add SwiftLint. All the rules I wish to enforce, I would enforce only on new created files. In that w

.onReceive do not work when @Published property is changed [duplicate]

I have a @Published property in ViewModel and .onReceive in View. When my @Published var changes the .onReceive is not even executed. View is

JAVA Generating a Signature for Apple Promotional Offers

I'm trying to generate a signature to be returned to the mobile application in order to validate a promotional offer with the App Store. Apple documentation :do

SwiftUI: Animate offset to slide in from off screen

I'm trying to animate in a view the bottom of its parent view. This is relatively easy to do by animating the offset, like so: struct ContentView: View { @

Is there any method in react native to generate android and ios folders again?

I messed up in my react-native android and ios folder while doing some changes in internal files, now project is not starting with lots of errors which is from

Problem with running IOS simulator for my flutter app

I'm trying to run my flutter app on the IOS simulator and its not working. So tried on the most basic flutter app (create my_app and then tried to run it) and n

Resize and Rotate image Annotation added in pdf

Using this Link I have added signature image annotation in PDF file But i could not find any guide for how to rotate and resize image annotation using the butto

Firebase Plugins not Working on IOS (Ionic)

I am developing an Ionic App, and I am having some issues with the IOS App and Firebase/FCM Plugins. The Android App is working perfectly with the below plugin

Code Signing issue when Archiving using Fastlane in Github actions

Recently we have migrated all of our iOS projects from GitLab to GitHub. However when we are trying to build the code using GitHub Actions(Fastlane) In our self

Expand SwiftUI button tap area over the button frame

I read a similar question about that issue. But that only expand the button size use .padding(). The red region in the snapshot is the tappable area. The trai

How to enable iOS time-sensitive notifications switch in app settings?

I am working on changing types of notifications in my app to time-sensitive and active on iOS 15+. I noticed that if I go to iPhone settings -> Notifications