Category "ios"

Can I schedule a single background task to run at sometime in the future on iOS

I need to queue a background task on iOS to run specifically 1 minute later, and to run only once. All I have found so far in the docs is running a periodic tas

Cannot get Alerts to show on iPhone no matter what way I code it and I have tried 4 different ways

Of these 4 methods mentioned, they all work in the simulator, but non of them work on the iPhone. Here are the pieces of code that come into play here. <List

Recenter the scrollview content Swift

I'm trying to recenter the scrollview view and move the frame, when the user current location goes to the out of the screen frame. Currently I have a PDF a

How can I make swift package management make offline? Every time I open a project, it begins downloading, which takes longer when the project is huge

Every time I open a project, it begins downloading, which takes longer when the project is huge.

`Task` blocks main thread when calling async function inside

I have an ObservableObject class and a SwiftUI view. When a button is tapped, I create a Task and call populate (an async function) from within it. I thought th

swiftui matchedGeometryEffect with scaleEffect problem

Why when opening and closing the viewModel (color.green) , the circle tremble and vibrate and the model becomes above the circle when moving when i change the v

swiftui matchedGeometryEffect with scaleEffect problem

Why when opening and closing the viewModel (color.green) , the circle tremble and vibrate and the model becomes above the circle when moving when i change the v

UIButton with custom image still shows titleLabel even though I set it to blank - Swift iOS

I'm pretty new to Swift, currently writing an AR game. Seems like my issue is very basic, but I can't figure it out. I added a button to an AR Scene through the

Keyboard does not change appearance in iOS dark mode

I am testing Dark Mode in iPhone 12 Pro (iOS 14.4). I enabled Dark Mode in Settings but my Keyboard remains the same. It does not appear in DarkMode. I have 2 q

Firebase Delete User who signed it with apple correclty

I have implemented the Sign-In-With-Apple with Firebase. And I also have the functionality to delete a user. This is what I do: static Future<bool> dele

Gmail app converting PDF on to Email not working properly on UIActivityViewController using PDFKit

Ran into some pdfkit issues when you share a PDF with UIActivityViewController and Gmail doesnt convert the PDF file properly it works on every other platform (

For tracking product impressions which Google Analytics hit type should I use?

Currently for tracking product impressions, I am using below code: let tracker = GAI.sharedInstance().defaultTracker let builder = GAIDictionaryBuilder.

How to tell when a UIMenu gets DISMISSED

I have a UIButton with a UIMenu attached, I need to know when the UIMenu is dismissed (by tapping outside the UIMenu) so I can remove the button that the UIMenu

Ios BLE extended Advertising example

Does anyone know how to implement BLE extended advertising using Core Bluetooth or any other library in ios . From BLE 5.0 there should be option of sending 255

How to does Apple Reminders App/ iOS version Google Keep able to implement recurring reminder with complex rule?

By using UNCalendarNotificationTrigger and UNNotificationRequest, it is possible to create the following recurring reminder Show reminder every day 8:00 am star

Why is my view not updating when value is updated using @Published and @ObservedObject?

I am creating an object recognition app that takes frames from the camera and outputs a description of the image into a text view on the screen. I can print the

How to make search bar in iOS 15 appear by default?

I started to develop an application using iOS15 and the new .searchable modifier. I have a simple layout with some placeholder results on the main page and a se

Command PhaseScriptExecution failed with a nonzero exit code - Failure to install app on physical device

I develop app in Flutter. It runs smoothly on Android but fails to install on physical iOS device. However, on iOS simulator no issues. I know this problem has

Stripe Newbie trying to implement Stripe payment on iOS application

I am a newbie in iOS, for my college project we decided to build a meal delivery app which will take payments. For that i thought of implementing Stripe payment

How do I automatically switch to the iOS custom keyboard when entering my app?

I would like when entering my app to automatically switch to my custom keyboard like the Facemoji app. Is this possible to force user to open only custom keyboa