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
4
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
21
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
26
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
31
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.
-1
votes
0
answers
19
views
iOS app container structure changed - database not found
Today I'm downloading my in-development iOS app container (.xcappdata) from Xcode's devices and simulators window in order to see what's stored in the app using Core Data (and eventually use that ...
-1
votes
1
answer
56
views
How to use a function outside of the class?
I want to use this code:
var buttonNumber = 0
func settings() {
CNavigationViewController().contextMenu()
}
class CNavigationViewController: UINavigationController {
...
@objc func ...
-1
votes
0
answers
14
views
CSS display different in IOS and Android, Windows [closed]
When I preview my website in mobile screen size with Chrome, my laptop and Android display the same but in IOS is not, despite I use the same browser Chrome. CSS isn't applied with IOS, is it ?
How ...
0
votes
0
answers
18
views
Is there a streaming way to decrypt AES256GCM large files?
I'm currently using CryptoKit to decrypt AES256GCM encrypted files.
func decryptByCombined(_ key: String, authenticating: Data?) -> Data {
let key = SymmetricKey(data: key.bytes())
let sb = ...
0
votes
0
answers
13
views
React Native. iOS/iPad. Detect whether a device has bottom notch (swipe up bar)
If you look at the bottom part of the iPad device and the app, for different models:
iPad Pro (11-inch) 3-rd generation - has a bottom notch
iPad 6-rd generation - doesn't have it
Is there any way ...
0
votes
1
answer
25
views
Simulators gone after XCode update
I am running Version 15.4 (15F31d). Yesterday I installed an update, opened XCode again and there was a message like "Simulator needs update". I clicked OK, nothing happened. Now, all my ...
0
votes
0
answers
19
views
One signal notification click Flutter
I'm using One signal notification in flutter app and working fine in IOS but in android after clicking on notification opening google chrome followed by app.
Future<void> initPlatformState() ...
0
votes
0
answers
13
views
Upon IOS app transfer or migration, what are the effects if user did not upgrade app from app-store
We are ready to migrate the app from Developer-Account A to Developer-Account B, and we are wondering what the impact is on users who originally installed the app when the app still belonged to ...
-1
votes
0
answers
10
views
No podspec found for `Permission-Camera` in `../node_modules/react-native-permissions/ios/Camera`
In my project, I am trying to add the following pods:
Permission-Microphone, Permission-Camera, and Permission-PhotoLibrary
. However, I encounter an error when running
pod install
.
Here is my ...
0
votes
1
answer
59
views
Managing ViewModels
This is more of an architectural question.
I am working on a personal project using the Rick and Morty API, following this design, building with Swift and SwiftUI using the MVVM pattern.
I have ...
0
votes
0
answers
8
views
Inconsistent Background Location Updates in iOS App Across Different Devices
I've developed an iOS app by react-native that requires background location updates. The app works perfectly on my phone, providing frequent location updates as expected. However, on some other ...
0
votes
0
answers
11
views
App freezes when completing StoreKit purchase and using .fullScreenCover modifier in SwiftUI
My SwiftUI app freezes when completing a purchase in StoreKit if I have .fullScreenCover modifier applied anywhere in the View hierarchy.
It doesn't matter where I put the .fullScreenCover modifier in ...
-8
votes
0
answers
42
views
Did Everyone know about Netflix game downloading algorithm on IOS? [closed]
We try to build a Games centre App that allow user can download game from our app. but in IOS we can't download directly like Andiron so try the other way like following Netflix game downloading flow ...
0
votes
1
answer
33
views
Extra padding in shell title view (IOS)
When using shell title view, an extra padding space is coming below title view only in IOS.
enter image description here
Code for TitleView
<Shell.TitleView>
<Grid ColumnDefinitions=&...
2
votes
0
answers
27
views
Automatically upload dSYM files to Firebase from Codemagic
I am using Codemagic to build my Flutter app. Furthermore, I am using Firebase Crashlytics to keep track of my app. In order to properly use Firebase Crashlytics I need to upload the dSYM File of each ...
0
votes
1
answer
39
views
How to create array of function?
I use this code to perform actions with button tag:
func a() {
print("a")
}
func b() {
print("b")
}
let arrayOfActions: [()] = [a(),b()]
@objc func buttonAction(sender: ...
0
votes
0
answers
15
views
How to corroct get notification permission in Objc?
I have a way to get push permissions.
But what I get every time is not the correct value.
How can I rewrite this method?
My push permission has been enabled, but it still prints out 555 first and then ...
-1
votes
0
answers
15
views
Do I need separate license keys for Android and iOS using Scandit DataCapture SDK? [closed]
Question:
I'm using the Scandit DataCapture SDK in my Xamarin Forms project, specifically the Scandit.DataCapture.Barcode.Xamarin package. I'm unsure about the licensing process:
Do I need to create ...
0
votes
0
answers
21
views
WKWebView login session remains active when app is killed and relaunched
I am facing a weird issue in iOS app using WKWebView and this is happening in device but not simulator. We have a button on click of which we are creating a new WKWebView instance and before loading ...
-1
votes
0
answers
22
views
How to call "AutoFill Password" dialog like click password button in iOS system keyboard?
I want call "AutoFill Password" dialog like click password button in iOS system keyboard. Is Any iOS API can do that?
I've try using ASAuthorizationPasswordRequest and ...