Category "ios"

Modify AppAuth alert

I am using AppAuth (0.95) to access google mail on my IOS app. Before redirecting to google sign-in, i get an alert with this message. 'Appname' wants to use

How do I include iOS App Icon image within the app itself?

I have standard iOS app, with a standard app icon contained in Assets. I'd like to display the app icon within the app (using SwiftUI). Note that I am not ask

SwiftUI Mask a rectangle inside a rounded rectangle

Hello there. I am wondering, in SwiftUI, how do you mask the contents of a rounded rectangle so that a child rectangle clips the corners. In my example I ha

Flutter Upgrade Breaks iOS Build

After upgrading Flutter to 2.10.5 my XCode build is giving me: Error output from Xcode build: ↳ objc[49279]: Class AppleTypeCRetimerRestoreInfoHelper

Event Delegation like in JavaScript, but in iOS Swift

Is there a way in Swift to capture events on a screen similar to how Event Delegation in JavaScript works? I would like to find a way to respond to events witho

White blank screen is displayed when I run my flutter app

I've already added a few dart files with Firebase integration and fixed deprications, but unfortunately it shows a white blank screen when I run my flutter app

Where can I deposit PayPal funds?

I'm developing an iOS application that allows the user to purchase coins with In-App Purchase and send them to other users. Users who receive coins can withdraw

How to remove '\u{ef}' character from String Swift

let's say I have a string var a = "#bb #cccc #ddddd\u{ef}" and i am setting it to textview like this let text = a.trimmingCharacters(in: .whitespacesAndNe

Voxeet Cordova - CFBundleIdentifier Collision

I was able to add the plugin upgrading xcode version to 13. I test my app and everything is working but then I try to archive the .ipa and upload it to the appS

Xcode 10 - How to refresh localization of a Siri shortcut intent definition file?

I have an intent definition file for a Siri shortcut. When I click on localize Xcode does very well create a localization file, each string beeing used is prese

How do I handle NSInlineData from Bluetooth scanning?

I want to use data that is passed through Bluetooth scan. and I want to split and use data from NSInlineData. I import data via Bluetooth scan as follows. fun

Flutter Mac Book M1 You appear to have CocoaPods installed but it is not working

STILL NOT SOLVED I am setting up Android Studio on Mac Book with M1 Chip (Big Sur). When editing a project with dependencies, I get a Cocopod error. I tried rei

Flutter: How to use RefreshIndicator with SliverAppBar

I'm trying to add RefreshIndicator to CustomScrollView. Is it possible to do? Here is the code sample: CustomScrollView( slivers: <Widget>[ SliverAp

GestureRecognizer in scrollView not working

I moved all my UIElements in a scrollView to avoid a loaded UIViewcontroller. But now the GestureRecognizers on the view does not work anymore. My View hierarc

Xcode 10: A valid provisioning profile for this executable was not found

Since yesterday I've been getting the following error when trying run an app on my device: A valid provisioning profile for this executable was not found." Th

UIKit automatically switch to another VC after launch screen appear

I'm trying to automatically switch from lauch screen to home screen after 3 sec. This is code in entry point view controller override func viewDidAppear

iOS: Detect if the device is iPhone X family (frameless)

In my app there is some logic for frameless devices (iPhoneX, Xs Xs max, Xr). Currently it works base on the model of the devices, so, I detect the model by Dev

Change SSL Pinning mode on runtime in AFNetworking

We have a trouble with AFNetworking library when we check for SLL Pinning. We need to change SLL Pinning mode on runtime but changing doest not effect for some

Swift - Get array item with an IndexSet

I have my Contact object: struct Contact: Codable, Identifiable { var id: Int = 0 var name: String var lastName: String var phoneNumber: String

Is there someone who used animationDidStop or animationDidStart for SCNAnimation Player?

I am getting animation from a scene file with func animationFromSceneNamed(path: String) -> SCNAnimationPlayer? { let scene = SCNScene(named: path)