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.

ios
Filter by
Sorted by
Tagged with
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
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 ...
8 votes
4 answers
7k views

How to fix react-native error after updating expo to 50.0

When I run npm run ios in terminal, I get the below error error: node_modules/expo-router/entry.js: [BABEL]: expo-router/babel is deprecated in favor of babel-preset-expo in SDK 50 I tried to ...
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 ...
3 votes
1 answer
2k views

Observing system volume in SwiftUI

I am trying to show a volume indicator in my app, but first I need to monitor the systems current volume. I am using an observer, and while the print statement shows the correct value, the UI never ...
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? ...
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
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
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 ...
2 votes
2 answers
297 views

how do i open same app using Deeplinking through universal links

I am having an already running app on Appstore. I have implemented Deepliking through Universal links and it is working perfectly when I open app from anyother app, by clicking a specified URL. But ...
0 votes
1 answer
38 views

How to dismiss the first scene in UIKit Application?

I am developing an iOS application with Swift in Xcode (14.5) environment. There are two different scenes named ViewController.swift and XYZViewController.swift in the Main (Base) storyboard. First of ...
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
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
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 ...
6 votes
3 answers
483 views

Is it possible to perform NSBatchUpdateRequest with an array of NSManagedObjectID?

Currently, I perform multiple update operations via the following code. func updateOrders(_ updates : [(objectID: NSManagedObjectID, order: Int64)]) { if updates.isEmpty { return } ...
2 votes
2 answers
756 views

Present sheet with a TextField and its keyboard in a single animation?

I'm building a SwiftUI to-do app. You tap an Add button that pulls up a partial-height sheet where you can enter and save a new to-do. The Add sheet's input (TextField) should be focused when the ...
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. ...
147 votes
11 answers
100k views

Reducing the space between sections of the UITableView

Is there a way to reduce the space between two sections of a UITableView? There are about 15 pixels between every single section I have. I did already try to return 0 for -tableView:...
2 votes
2 answers
3k views

React Native - StatusBar color iOS and Android

I can't set the color of the status bar on iOS and Android on React Native with Expo. I just managed to hide it. Code : import * as React from 'react'; import { WebView } from 'react-native-...
121 votes
36 answers
253k views

How to get current route name in react-navigation?

I want the name of the current route or screen in react-navigation which I want to use inside if condition to make some changes.
3 votes
3 answers
1k views

Expo Development Build on Simulator Network connection lost

I built development builds for an Expo an and as soon as I did that, I was not able to to connect to the expo development server from the iOs simulator. I tried: downgrading expo, react-native ...
11 votes
2 answers
9k views

UTM tracking codes in Firebase

How to make that Firebase understand and track installation of apps (iOS and Android) with UTM tracking links (for example I want to track installs of apps from my site from footer link)? In GA it ...
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<...
1 vote
2 answers
181 views

Problem during ReactNative project deployment for iOS

I'm developing a brand new iOS/Android app and I want to use a single code, so I decided to use ReactNative for my pourpouses, and I want to build myself the executable instead of using something like ...
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 ...
0 votes
0 answers
37 views

Crash on Timer Callback in Swift: closure #1 in ViewController.updateTimer() Causes App to Crash

I have a timer in my app that updates the current time on the UI and checks against a set time to trigger an event. However, my app crashes when the timer fires. The crash logs point to ViewController....
35 votes
6 answers
45k views

FCM Notification in iOS doesn't play sound when received

I am using Firebase push notifications in my iOS Application. Although I am able to send the notification by sending below payload, it doesn't play a sound when received. { "to": "myToken", "...
25 votes
4 answers
18k views

Total RAM size of an iOS device

Is it possible to determine actual RAM size of an iOS device? Referring to this question Determining the available amount of RAM on an iOS device we can determine the available free memory but how to ...
1 vote
1 answer
44 views

Open default phone Contacts app with Expo

I'm using React Native Expo, and I want to open the default phone Contacts app. On Android, I used: await Linking.openURL("content://contacts/people/"); and that's worked. On iOS that doesn'...
19 votes
6 answers
20k views

UISearchBar custom corners

I'm trying to create a search bar like this: But I'm noticing that I'm probably going to have to replace the search bar with my own image because the search bar corners comes out wrong when I set: ...
0 votes
1 answer
46 views

Android : react-native-maps show only absolute one block area in detail

Android : react-native-maps show only absolute one block area in detail. Only one rectangular area is shown in detail. I try code.but Does not get better What's wrong with this? When I zoom in on the ...
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'. &...
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(); // ...
7 votes
2 answers
2k views

UIBezierPath - Add rounded corner

I am using a UIBezierPath to draw a curved line. The curve works however, I am unable to curve the edges of the line. If you look at the top/bottom end of the curve, you can see that the edges are ...
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
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 ...
11 votes
3 answers
2k views

iOS 14 widget works locally, but fails via TestFlight

I have a SwiftUI app with a widget. When I run the app via Xcode (either straight to my device or on the simulator), the widget works exactly as expected. However, when I run the app through ...
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
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
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 ...
7 votes
1 answer
14k views

How to set up proxy for ios simulator?

As topic. I run an app in my macbook pro iOS simulator, and I wanner config my app's requests through my http middleware. so, How to set up iOS simulator http proxy? I open my System Preferences, and ...
1 vote
3 answers
663 views

iOS App not using full height of the screen

I created a sample iOS app, where I removed the storyboard, the launch screen, the SceneDelegate and created a blank UIViewController MainViewController: class MainViewController: UIViewController { ...
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 ...
4 votes
3 answers
7k views

An attribute list cannot appear here firebase-ios-sdk, Xcode 15.0 Error

I have updated my Xcode to 15.0 and now its start giving me this error. ABSL_CONST_INIT extern "C" const int64_t kFIRFirestoreCacheSizeUnlimited = Settings::...
6 votes
4 answers
2k views

ITMS-91053: Missing API declaration in Flutter Project [closed]

We noticed one or more issues with a recent submission for App Store review for the following app: Version 1.0.30 Build 2 Although submission for App Store review was successful, you may want to ...
28 votes
3 answers
8k views

Does app-argument on Apple Smart Banner get passed to app on install?

I've implemented a Apple Smart Banner for my app, including a app-argument with a URL I'd like the app to open on my site. I thought that would pass through when the user installs the app, but it ...

1
2 3 4 5
13747