Questions tagged [ios]
iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.
239
questions
0
votes
0
answers
4
views
Axios Network Error in React Native project - how to handle this issue?
At first I started to develop my mobile app using Expo, but then migrated the components (and generally the whole UI) to plain React Native (react-native). No matter what I am trying to do (e.g login, ...
0
votes
0
answers
7
views
Autofill suggestions not showing up for QR-based verification code
I am trying to integrate autofill for a verification code in one of my iOS projects. I have added an apple-app-site-association file to my domain. It was integrated successfully, as now the iOS ...
0
votes
0
answers
5
views
Using SwiftUI previews on real device within SPM package code
I am trying to modularize my iOS project and extract a feature as a module using SPM. This module contains some SwiftUI code that I want to test with Xcode Previews on a real device. The preview works ...
0
votes
0
answers
8
views
Correct Location of Android & Ios Manifest
What is the correct location for Android manisfest and Ios in Flutter
Here is my code
I need the correct location details, so that this can work successfully
Future<void> _updateAndroidManifest(...
0
votes
0
answers
3
views
An iOS app can manage its own contacts, but how, its not documented
In the documentation for the iOS 18 Contact Provider Extension (https://developer.apple.com/documentation/contactprovider) it says:
Use the Contact Provider framework if your app manages its own
...
0
votes
0
answers
23
views
An iOS application crashed or was closed, how do know which screen was last viewed by the user?
An iOS application crashed or was closed by the user or closed because the device has no battery, how I retrieve the information for which screen was last viewed by the user?
I want to save this ...
-1
votes
0
answers
15
views
How should SwiftUI accessibiltyActions be announced in VoiceOver?
I'm trying to add accessibilityActions to specific views in an app I'm working on for a client.
I'm using the accessibilityAction(named:) viewModifier. I can't share the client code, but it's ...
0
votes
0
answers
8
views
How to use Teechart Maui in a .net for ios project
I implemented successfully Teechart for Xamarin.ios (Xamarin native) in my mobile app a few month ago.
Now we have migrated our Xamarin.iOS native app to ".Net for iOS" (without MAUI).
I see ...
0
votes
0
answers
10
views
Keyboard Extension Input Field Not Working
I've been working on a custom keyboard extension and encountering an issue where I can't input text into the Custom TextField. Even when the TextField is selected (indicator is on), the input still ...
-1
votes
0
answers
13
views
Will app still be able to access object saved by [NSUserDefaults standardUserDefaults] after app is Transferring to another account?
Our game is a offline game and some game information is save locally by code like
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:@"John Doe" forKey:@&...
0
votes
0
answers
9
views
Unity - How detect dynamic island in Apple phones?
How detect dynamic island in Apple phones?
Or do automatic offset, setup in Unity or Xcode?
I found a similar problem here but it's probably directly for coding in Xcode.
In Xcode, I can only manage ...
1
vote
1
answer
23
views
How to navigate to the map application in Carplay when integrating Flutter application with Carplay?
In the application I made with Flutter, I integrated CarPlay with the flutter_carplay package. When an item is clicked on the POI screen in Carplay, it needs to open the map in Carplay and navigate to ...
0
votes
1
answer
29
views
Running a background task every 10 minutes to update server with device location
I am writing a flutter app (Android & IOS) which requires sending the device location once every ~10 minutes.
This task is required to continue running in the background even when the app is in ...
0
votes
0
answers
9
views
WKWebView accessibility tree not updated after DOM change
I have a simple UIKit app that pushes a view containing a WKWebView. If VoiceOver is enabled, when the view is pushed the OS sets the accessibility focus in the back button of the navigation bar. The ...
0
votes
0
answers
23
views
This App Needs To Be Updated By The Developer To Work On This Version Of iOS
I am trying to run the MAUI application in Visual Studio MAC on iPhone Pro Max (17.5) Simulator.
I am getting the below error while running the application on the simulator. The aplication is getting ...
0
votes
0
answers
12
views
Apple ID prefix change in TestFlight build all of a sudden - Should I be concerned?
I noticed that all of a sudden in our latest TestFlight build, users now have a different Apple ID that Apple provides to our game application compared to when they are playing our app not on ...
0
votes
0
answers
6
views
Is removing 'Info.plist' file the right solution to 'Multiple commands produce '/Info.plist' duplicate output file'?
I duplicated one of my xcode projects where I was using CoreData to explore it's functionality with other database options, I changed the name on the duplicate and left the original file as it was. ...
-1
votes
1
answer
27
views
Gradient layer on UiView
I am trying to provide gradient layer to the View on created XIB. I have to give gradient colors with combination of 5 colors. But unfortunately gradient is not working.
These are colors array:-
let ...
-2
votes
0
answers
23
views
SwiftUI modifier and view parameter [closed]
Is they any simple way to find a current Modifiers for a view . Working on multiple framework often is not easy to remember every Modifiers for a view
In flutter all view modifier will be as parameter ...
0
votes
0
answers
11
views
Unable to create framework in Xcode 15 with Objective-C throwing error "Command PhaseScriptExecution failed with a nonzero exit code"
I am trying to create objective C Network framework using Xcode 15 with minimum supported iOS version 14.0.
Here are the steps I am following:
I created New> Project> framework> Objective C&...
-1
votes
0
answers
12
views
How to fix the iOS app build error on Xcode v15?
I am using Mac M2, Xcode v15, and trying to run an iOS project but am getting the error as in the picture. Can someone help me fix it?. Thanks!
enter image description here
I searched and tried to run ...
1
vote
1
answer
21
views
SwiftUI Xcode project - Can I change the struct name in the automatically generated file whose name is the app's name?
Suppose I create a new Xcode project of SwiftUI with app name "ExampleApp", then Xcode automatically generates a file ExampleAppApp.swift that contains the following code:
@main
struct ...
0
votes
0
answers
20
views
Strange gRPC Issue on iOS for Blazor MAUI Hybrid
We are using gRPC in our app and it works great, now suddenly we got the error below on iOS, the exact same code works great on Android and Windows. The error:
TypeInitialization_Type, ...
0
votes
0
answers
18
views
Changing the background color of .searchable search bar is not setting it to normal black color
I have a search bar set up using the .searchable modifier on a SwiftUI View, and I would like to set the background color of the bar text field to be Color.black.
I've attempted to change the ...
-2
votes
0
answers
25
views
Linking of multiple apps [closed]
If we create an flutter application (Android + iOS) using visual studio code "we have 3 applications named A, B & C. A is the main app and the other two apps (B & C) are separate apps. i ...
0
votes
0
answers
18
views
iOS 17 MapKit .standard doesn't allow for a globe view when zoomed out
I'm working on setting up a very basic mapview with MapKit for my iPhone on iOS 17. I noticed that the Apple maps app doesn't have this issue but I really couldn't find much about this topic other ...
0
votes
1
answer
21
views
Easing functions for using CADisplayLink
I need to manually animate something frame by frame in SwiftUI using CADisplayLink, which provides me frame to frame updates. For animating a value from a to b in a linear fashion, the implementation ...
0
votes
1
answer
20
views
How can I make my app appear higher than all other apps in Spotlight search results?
I’m working on an iOS application and would like to improve its visibility in Spotlight search results. Specifically, I want my app’s content to appear higher in the search results compared to other ...
-1
votes
0
answers
32
views
How to move between view controllers with using custom navigation controller? [closed]
I have a custom navigation controller. I want to go to next controller. And show custom back button. I use this code to do it:
func collectionView(_ collectionView: UICollectionView, didSelectItemAt ...
-1
votes
0
answers
9
views
How to fetch the list of installed apps
How did the Shortcuts App can fetch the list of installed apps?
As I know. The developer can't fetch the list of installed app. Who can help me.