Category "ios"

iOS Extending background time for beacon monitoring

I'm developing an iOS swift app for traveling, the concept of the app is after validating the trip with the user, while in trip, the app keeps ranging for bluet

EventKit remove event from calendar

This is the way I am adding all the events in to my calendar, those events are coming from table view. I have a problem with deleting a specific even from the c

Firebase Dynamic links - when clicked not working in iOS

Im using firebase dynamic link to open the mobile application (If already installed) or to redirect user to Playstore or app store. In iOS mobile , I pasted the

Flutter local notification onSelectNotification can not open a new page when a local notification is clicked

I want my flutter app to open a page when a local notification is clicked. I've defined the following codes in the event listener: Navigator.push( Ccontext,

Passing an ObservableObject model through another ObObject?

I feel like I can sort of understand why what I'm doing isn't working but I'm still trying to wrap my head around Combine and SwiftUI so any help here would be

Why does my css design look okay on various android screens and bad on iphone devices

I'm trying to design a webpage but it looks okay on android devices but when i use apple mobile devices (iphones) it doesnt follow my css rules and looks bad. i

CollectionView Cell inside UITableView is not scrolling horizontally for Voice Over accessibility

In my app, I have a screen where I need to support voice over accessibility. The screen has a TableView and inside that a collectionView. When voice over is ON

Unwanted "smoothing" in AVDepthData on iPhone 13 (not evident in iPhone 12)

We are writing an app which analyzes a real world 3D data by using the TrueDepth camera on the front of an iPhone, and an AVCaptureSession configured to produce

SwiftUI Force Portrait On All Except One View

I have a SwiftUI project. For all but one of the views, I want to allow portrait and only portrait mode. For only one view, I want to allow both portrait and la

Picker's configuration is not a valid configuration, Swift

I am working on new image picker API provided by Apple in WWDC2020 named as PHPicker. I am getting this error when I select the image form the picker second tim

Animate a UILabel and UIButton within a single UIView.transition block?

I need to animate the change of the value of a UILabel and a UIButton's image property. I currently use two UIView.transition blocks which seem to work fine, bu

How to save JPEG/RAW image data to camera roll in iOS 11, can't access processed image data

I'm attempting to write a photoapp that can take both RAW and JPEG images and save them to the camera roll. The functions jpegPhotoDataRepresentation and dngPho

Binding ViewModel and TextFields with SwiftUI

I'm looking for the best way to create a bind between textfields and ViewModel. At the moment I'm creating a @State for each textfield and I'm manually sending

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