Category "ios"

SharedPreference giving "Unable to establish connection on channel." when used inside flutter_background_service

I'm using flutter_background_service to start a service to fetch data from Cloud. It's working just fine in Android. But when I run on an iOS Simulator, I get t

How can I detect orthogonal scroll events when using `UICollectionViewCompositionalLayout`?

In the video Advances in Collection View Layout - WWDC 2019, Apple introduces a new 'orthogonal scrolling behavior' feature. I have a view controller almost ide

Using fastlane match gives me: your developer account needs to be updated

I'm using fastlane in my react native app. I am following the documentation in https://docs.fastlane.tools/getting-started/ios/setup/ and everythinhg works fine

What are the delegate methods for ReplayKit's initial alert choices?

When the the user first decides to use ReplayKit there is an alert that appears. It gives 3 choices: -Record Screen and Microphone -Record Screen Only -Don&rsqu

Creating a limited count array of custom type

I am creating array of Promises of type [MSGraphScheduleInformation?]. I want to limit the array count to 4, but the repeating param in the API is throwing erro

SwiftUI picker .onChanged only firing on 2+ selection changes

I have a picker that will change an attribute of an object that is bound to the view. When the picker is changed I want to update the bound object so the change

The page property cannot be read when multiple PageViews are attached to the same PageController.Failed assertion: line 184 pos 7:

Iam trying to restart the quiz app but when iam press the restart i have this error message (The page property cannot be read when multiple PageViews are attach

Detect if an iOS user is currently signed into an iCloud account and has 2FA enabled

How would my app detect if a) the iOS user is signed into an iCloud account AND b) if the 2FA is enabled on that account? I've been looking at Apple docs like

SwiftUI DatePicker Binding optional Date, valid nil

I'm experimenting code from https://alanquatermain.me/programming/swiftui/2019-11-15-CoreData-and-bindings/ my goal is to have DatePicker bind to Binding<

React Native: Phone won't go to sleep while app is open

I'm trying to test some behavior in my React Native app when the phone goes to sleep, but the phone won't sleep when the app is open. I have the auto-lock set t

Invalid CFBundleSupportedPlatforms value iPhoneSimulator in (DJIWidget) FFmpeg.framework

I cannot upload my app which contains the DJI-SDK, DJIWidget(which contains FFMpeg) to Testflight after updating to Xcode 13. When I try I get: Invalid CFBundl

Use of scene delegate for apps that does not support multiple windows

I know that scene delegate can only be used on iOS 13 and later. For my app to support iOS 12 and earlier versions, its either I opt-out of scene delegate or se

How to implement a left or right DragGesture() that trigger a switch case in SwiftUI?

I have created a DragGesture in a View that should select a @State(Bool) whether the user swipe left or right. The thing is that only swiping right is detecte

Deserializing ARWorldMap in Unity that was serialized with NSKeyedArchiver in native iOS

I have developed an iOS/ARKit app that functions as a content editor for my AR game. It has a fair amount of interface that I don't want to port over to Unity,

UICollectionView error: cells must be retrieved by calling -: -dequeueReusableCellWithReuseIdentifier:forIndexPath:

In my project I have multiple types of UITableview cell each containing UICollectionview. Initially I loaded 2 tableViewcell in 2 sections of UITableview. At

How to implement the intercom/push-to-talk/walkie-talkie feature based on Firebase on Android and iOS?

I’m using Firebase as the cloud database and handling authentication for my Android and iOS APPs, it works quite well. Recently I want to add the intercom

UIStackView change item spacing as stack view changes sizes

Overview I have a stack view that has multiple circle views in it. The circle views could be images (like profile pictures) or anything. These views should be a

Swift protocol properties with delegates

I am trying to setup a success/error view on a controller via protocol and extensions. What I want to achieve is that I want to get into the state where it is e

(SwiftUI) How to search using IGDB api, search in api

I need help I have app I'm using IGDB api and displaying games with no issue. I need ability to make user search and send the user text to api to display the ga

Why is my react-native app terminating in the background while recording (iOS, RN 0.63.3, Expo-Av 9.2.3)

Hello I'm having an issue in my React Native app where audio recordings are sometimes mysteriously terminated while the app is in the background. This happens o