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.
687,142
questions
0
votes
0
answers
5
views
(IOS) How to get device phone number in flutter
In android for example,
we can get device phone number by executing the code below
_mobileNumber = (await MobileNumber.mobileNumber)!;
but in IOS we can't get phone number by doing this,
how to get ...
0
votes
0
answers
6
views
Webview as overlay in Broadcast Upload extension
I am currently developing a screen broadcasting application aimed at assisting users in streaming games to social networking platforms. To achieve this goal, I am utilizing the Broadcast Upload ...
0
votes
0
answers
11
views
Is it possible to display a 3d path using latitude, longitude and altitude on a map?
I know it's not directly possible to do it with poly lines, however are there workarounds? Would MapKit allow to display a 3d object built in SceneKit directly on a map and allow rotating around it? ...
1
vote
0
answers
13
views
Prevent Flutter Background image from resizing when keyboard toggled on pushed screen in CupertinoTabScaffold
I know that this question popped up many times regarding the general app scaffold:
Flutter: Background image is squeezing when keyboard appears (suggesting to set the resizeToAvoidBottomInset: false ...
0
votes
0
answers
11
views
AVPlayer Error: 'NSInvalidArgumentException', reason: 'An AVPlayerItem cannot be associated with more than one instance of AVPlayer'
I have a photo sorting app that currently only supports photos. In adding videos, I've encountered an error thrown by the AVPlayer used to display video files. Here's the main view, the video view, ...
0
votes
0
answers
6
views
-undefined dynamic_lookup is deprecated on iOS
Since an unknown time I'm getting the warning: -undefined dynamic_lookup is deprecated on iOS in Xcode.
As a backend I have Firebase, anyone have any idea how to resolve or investigate this?
This ...
0
votes
0
answers
8
views
How can I start zoomed in on user & in 3D using iOS 17 MapKit?
I want to alter this code so that when the Map is initialised, it starts off more zoomed in on the user's location and the pitch should be in 3D by default. How can I do this? I assume there is a good ...
0
votes
0
answers
34
views
URLSession requesting JSON array from server not working
guard let url = URL(string:"https://blaaaajo.de/getHiddenUsers.php") else { return }
let postString = "blockedUsers=245,1150"
var request = URLRequest(url: url)
request....
0
votes
1
answer
17
views
Incorrect display of LinearGradientBrush in IOS
the problem is the display of LinearGradientBrush on the button, in Android it is correct, in iOS it is not
<Button Text="Войти" >
<Button.Background>
<...
0
votes
0
answers
10
views
Module not found when building flutter app for IOS
So I'm having a problem when building my Flutter app in release mode for flutter.
When I build my Flutter app in debug mode it works fine and I can use my app in any emulator without any problem. But ...
0
votes
0
answers
12
views
How to share metadata of an audio url file to a WhatsApp conversation with friends
I am trying to send a music file from my app to WhatsApp using Apple Share sheet which is UIActivityViewController.
I am able to share the music file but the problem is I cannot add metadata to this. ...
0
votes
0
answers
30
views
Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
I have a weather app that refreshes asynchronously. While I've never seen it crash myself, I do see about a crash per day in Apple's reports, and not from a specific device. The app does have a good ...
0
votes
0
answers
17
views
MAUI game (GameCenter support)
I'm looking for a stack to develop my mobile game as a hustle project.
The idea is to create some kind of word-puzzle game, possibly make it cross platform for iOS/Android. As I have been working with ...
0
votes
0
answers
9
views
Expo Deep linking on iOS is not working (because of Google sign-in?)
Deep linking is not working. This is how the info.plist on iOS is configured for Google sign-in.
...
<key>GIDClientID</key>
<string>[secret].apps.googleusercontent.com<...
0
votes
0
answers
11
views
Integrating SKLottieView into a UIViewController?
I'm currently working on integrating Lottie animations into my .net-ios application using SKLottieView. However, I'm facing some challenges in properly displaying the SKLottieView within a ...
1
vote
0
answers
28
views
On iOS, the keyboard does not offer a 6-character SMS code
I'm developing a mobile application in React Native. The application has the <TextInput/> for entering SMS codes:
const [pinCode, setPinCode] = useState('');
const pinCodeRef = useRef();
// ...
0
votes
0
answers
29
views
Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
How I can fix this,
all that occurs when I installed the firebase package
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':cloud_firestore:generateDebugRFile'.
&...
0
votes
0
answers
14
views
The copy/paste functionalities don't work only on iOS in the Flutter app
I am using reactive_forms for handling user input in my flutter project. Once double click ReactiveTextField copy/paste functionalities don't work only on iOS (working on android). What is the ...
0
votes
0
answers
11
views
Hide LiveActivityIntent Button from Shortcuts App
I'm using LiveActivityIntent in the following way to add interactive buttons to my Live Activity:
struct Test: LiveActivityIntent {
static var title: LocalizedStringResource = "Test"...
0
votes
0
answers
9
views
While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
Flutter CI CD Pipeline Using Github Actions.
When running
xcodebuild -workspace Runner.xcworkspace -scheme Runner -configuration "Release-staging" DEVELOPMENT_TEAM=XXXXXXXX -sdk 'iphoneos' -...
0
votes
0
answers
37
views
Actionable notification api call not working in background
I am trying to download file on click of notification button but when application is in background then api call is not working.
Notification Code:
func userNotificationCenter(_ center: ...
0
votes
0
answers
29
views
Accessibility : Full keyboard access with scroll view in swiftui
I have checked almost all previous question related to my query but did not find my solution.
I'm facing issue with Full keyboard access accessibility when integrate it with scrollview. Inside ...
0
votes
0
answers
12
views
There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
I am tryin to upload a new app to the App Store. It was built with expo and I am now tryin to build it using EAS.
I've uploaded my first and only app a few months ago.
From the root of my project I ...
0
votes
1
answer
18
views
I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Please, any help would be appreciated and googling doesn't seem to be producing any proper solutions here. What confuses me even more is that this error now appears even when trying to run apps with ...
-1
votes
0
answers
27
views
HKQueryAnchor Becomes Invalid After App Reinstallation [closed]
I'm developing an iOS application that uses HealthKit and leverages HKQueryAnchor for fetching incremental updates to avoid pulling the entire dataset each time. This method works well until the app ...
-3
votes
0
answers
17
views
Postal Framework crash in iPhone but runs successfully in simulator [closed]
I have integrated the Postal framework in my sample iOS application for IMAP functionality. NOTE no other functionality just a iOS app and Framework added in it and using only one method and it's ...
-1
votes
0
answers
13
views
React Native - RealmJS - Linker command failed with exit code 1
React Native application is throwing the following error when building in Xcode. I am building on Mac M1.
Undefined symbols:
Linker command failed with exit code 1 (use -v to see invocation)
I tried ...
-2
votes
0
answers
20
views
how to install xcode on macos hight sierra without apple account [closed]
I am working on python programming language when I want to convert .py to .ipa (ios) but I don't have an apple account and I am missing ios sdk in xcode
I tried searching for xcode on the forums and ...
1
vote
1
answer
21
views
Lazy loading of dependent relationship in SwiftData
I have an Order model that contains Items
@Model
class Order: Decodable {
@Attribute(.unique) var orderId: String
var items: [Item]
}
When inside the list view, I fetch all the orders, the Items ...
-2
votes
0
answers
22
views
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value - MapView.isMyLocationEnabled [duplicate]
self.MapView.isMyLocationEnabled = true
gives the following error. How do I fix it?
import GoogleMaps
class ViewController: UIViewController,CLLocationManagerDelegate {
//Outlets
@IBOutlet ...
0
votes
0
answers
33
views
In MAUI how can I Show different appshell tabbars depending on the user role?
I would like to have a set of 2 or more TabBars, and depending on the loggedin user role I would like to show the first set of tabbars or the second
I'm not sure if this is the right approach or if ...
0
votes
1
answer
11
views
RN 0.63 support iOS ProMotion?
Does RN support iOS ProMotion for faster refresh rates without having to add some codes?
I remember that several months ago when our team released the iOS app which is built by RN it do support ...
0
votes
0
answers
41
views
Sheet binded item doesn't deinitialize SwiftUI
Have the following scenario. Basically I want to use the item binded sheet init and bind it to an optional property which will be set when we want to show the sheet. On the outside it looks perfectly ...
0
votes
0
answers
22
views
Playing local recorded video
I just want to record a video, copy it to local storage and be able to replay it. I have tried numerous different solutions. It works fine when debugging on an actual device from VS but as soon as the ...
-1
votes
0
answers
16
views
Issue with Xcode Target and settings for Apple Watch App
I am running into an issue where I have tested my Apple Watch app on many simulators in Xcode and on my personal devices, but when I submitted to Apple for review, they are telling me that it will not ...
-1
votes
0
answers
27
views
Can't display the simplest UIToolbar
I thought I could easily display a toolbar in UIKit, but I was wrong, or at least I can't do so without getting "Unable to simultaneously satisfy constraints." console messages.
Here is my ...
-2
votes
0
answers
12
views
Maps.ME generate updated maps [closed]
I have an iPhone and iPad with Maps.ME. The software works fine, but I am no longer able to get new maps because my hardware is rather old. I tried to manually compile and run the maps generator from ...
1
vote
0
answers
14
views
Multiple commands produce PrivacyInfo.xcprivacy
I am trying to build my app for iOS (using react-native), and I keep getting the error Multiple commands produce PrivacyInfo.xcprivacy.
I know where the error comes from, it's related to the fact that ...
1
vote
1
answer
54
views
My project code not running in Xcode(15.3) but the same code running in Xcode 14.2 in swift how to fix in xcode 15.3?
I have project which is perfectly running in Xcode 14.2 but the same code not running in Xcode 15.3 . but to make it run i tried below changes in Xcode 15.3 as per its error suggestions.
initially i ...
1
vote
1
answer
40
views
I use SwiftUI and use animation for Circle(), but when the screen is shown through NavigationLink, the location of the animation is not right
`ZStack() {
Circle()
.stroke(Color.yellow, lineWidth: 3)
.scaleEffect(animationAmount)
.opacity(Double(2 - animationAmount))
...
-2
votes
1
answer
30
views
How to press and hold in Xcode simulator
I’m developing a flutter app using vs code and the Xcode simulator and I want to test a function where I have to press and hold. It’s not working how can I test it?
I tried the shift and left click ...
0
votes
0
answers
35
views
Saving Dates Into Array for Uploading to a Firestore Document
I have a customer app where they request services. On the screen I'm working on, they can choose up to three dates. However, what I'm having trouble with is I'm unable to append the selected dates to ...
1
vote
0
answers
31
views
Memory management for image data storing and retrieving with SwiftData (or CoreData)
I know how to work with Data type in SwiftData (or CoreData). But the one question I feel missed is what is the correct way to care about memory management in different cases.
For example, I have the ...
0
votes
0
answers
10
views
AdMob Add Serving Limited Due To Site Behavior: Navigation
I got a policy error on one of my app on AdMob and now ad status is Serving is Restricted ad serving.
AdMob send me the following screen shots:
Screen 01
Walkthrow Screen
Screen 02
Permission Screen
...
-1
votes
0
answers
20
views
Build failed with xcode on iphone
i have a flutter project and it can run on the android simulator, but show the "build failed" while using xcode to build, i've check the flutter doctor and all the things r fine, and the ...
0
votes
0
answers
19
views
SwiftUI custom UINavigationBar color and transparency
I am using UIToolbar and UINavigationBar, but for this example I will use navBarAppearance.backgroundColor = UIColor.black.withAlphaComponent(0.4) for custom transparency and color. Not sure where the ...
0
votes
0
answers
19
views
iOS Simulator Debug: Launching 'tel' and 'mailto' Schemes Results in Errors
I have included the following code in my info.plist file:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>mailto</string>
<string>tel</string>
...
-1
votes
1
answer
21
views
How to get data as different subcollections and documents from firebase?
I am working on a project with Firebase and I am really struggling to get data when the collection structure gets a little bit complicated.
Firestore.firestore().collection("Projects")....
0
votes
0
answers
20
views
BGTask running while iPad is awake--how is this possible?
We have been using the BGTask (specifically a BGProcessingTask) reliably for the last couple of years for our app. Up until now they wake up automatically while the screen is off, the iPad is plugged ...
1
vote
1
answer
62
views
How to add additional actions to a button via a modifier
If I have a Button in SwiftUI, what is the best wa toy add additional actions to that button using a view modifier? For example, let's say I have the following:
Button("Tap me") {
print(&...