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,210
questions
0
votes
0
answers
3
views
<video> tag with downloaded path in ionic ios not loads the video
Download the video using filetransfer and then that video i try to open in tag but not loading
this.fileTransferDownload.download(this.videoUrl + this.videoObj.video_file_path, path + "Downloads/...
-2
votes
0
answers
6
views
Getting "error: Multiple commands produce" ... <App_Name>.app/PrivacyInfo.xcprivacy while adding in Target Membership
error: Multiple commands produce '<APP_NAME>.app/PrivacyInfo.xcprivacy'
note: Target 'AppV2Stage' (project 'AppV2') has copy command from '/ios/PrivacyInfo.xcprivacy' to '<>.app/...
0
votes
0
answers
8
views
How to set Value the descriptor of iOS BLE in XCode Obj-C?
How can I convert the Android BLE Code Lines to XCode Obj-C ????
public void setCharacteristicNotification(BluetoothGattCharacteristic characteristic, boolean enabled) {
boolean bleRes = ...
-1
votes
0
answers
9
views
Xcode build stuck at 3/39 on Xcode 15.2
I am running my iOS application and my XCode build seems to be stuck at a specific number say 3/39 or when on my physical device 1375/1410, for over 10+ hours. What do I do to fix this issue
I have ...
-1
votes
0
answers
7
views
Keychain returning -25300 after setting kSecAttrAccessible property as kSecAttrAccessibleAfterFirstUnlock
I have an existing iOS app using Keychain. It was throwing -25308 error while accessing Keychain in background. I have fixed that by adding 'kSecAttrAccessible' property as '...
0
votes
1
answer
17
views
Access to environment value without declare @Environment property in SwiftUI's View
I'm trying to access my custom environment value without declaring @Environment property in View. So why I need that?
Let's look at the example. I have my custom environment value:
enum Theme {
...
0
votes
0
answers
41
views
Why Apple keeps warning even after I handled the new privacy manifest rule?
Apple's message:
ITMS-91053: Missing API declaration - Your app’s code in the “{app name}” file references one or more APIs that require reasons, including the following API categories: ...
0
votes
1
answer
16
views
Xcode: Could not attach to pid: "####"
I am trying to build an iOS app into the actual device and I get this error. The app seems to be stuck at the launch screen.
I have tried restarting Xcode but it still didn't work.
I have already open ...
-1
votes
0
answers
12
views
Finding out what is using time stamps (privacy manifest required by Apple)
I just got the email from Apple saying my app is using functions that require a privacy manifest to justify their use. The two that are required are NSPrivacyAccessedAPICategoryUserDefaults and ...
-2
votes
1
answer
19
views
Minimum required hardware for Flutter iOS [closed]
Im a flutter dev, ive always been doing Android-only, but a client of mine has requested an iOS version of his app, but i do not really have any experience with iOS dev with/without flutter.
I would ...
-1
votes
0
answers
8
views
Google Maps Flutter plugin for IOS: Undefined symbol
I am testing a flutter app for IOS. I am using a Macincloud M2 Mac with arm64 architecture.I am using Cocoapods.
When I try to run it I get the error:
Error (Xcode): Undefined symbol: OBJC_CLASS$...
0
votes
0
answers
17
views
SwiftUI avoid Object Changes on re-rendering of View [duplicate]
My SwiftUI view that automatically re-renders on device rotation. Here is the code for body.
.fullScreenCover(isPresented: $openSubView, onDismiss: {
}, content: {
let ...
0
votes
1
answer
30
views
How to dismiss the first scene in iOS?
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 ...
-1
votes
0
answers
7
views
How can I break down a large presenter in the Viper design pattern into smaller pieces?
Presenter classes in some modules of the project I'm working on have exceeded 5000 lines. I'm struggling to manage the logic and unit tests here. How can I effectively break down an inflated presenter ...
0
votes
0
answers
15
views
The chat functionality with 'Read more and Read less' functionality not working
I have a chat function in which I pass text and it is displayed in a chat bubble for question and answer. The chat function passes answers which could sometimes be large amount of text( just like in ...
0
votes
0
answers
16
views
Changing the domain of the drag line in swift?
I have been using the drag lines to view the values of the plotted points in the chart. However, the does not show the value of the plotted point plotted on the right hand side of the chart. I have ...
1
vote
0
answers
21
views
No exact matches in reference to static method 'buildExpression'
I'm trying to create a Settings module using SwiftUI.
I have the following hierarchy
Settings (struct)
Section (struct)
Subsection (struct)
ButtonRow: Row
Subsection (struct)
ButtonRow: Row
...
0
votes
0
answers
20
views
Streaming multiple payloads through a response on swift Vapor 4
I need a way to send data to my client ios app from vapor backend on stream.
I'm using openAI chat complation.
I used these code on my vapor backend, but these just retrieve reponse on a single ...
0
votes
0
answers
7
views
Badge Not Displayed on iOS PWA Despite Receiving Push Notifications
I'm working on a Progressive Web App (PWA) with Firebase for push notifications.
My goal is to display a badge for unread messages on the app icon when notifications are received, using the service ...
-1
votes
0
answers
10
views
Disable the spelling correction on ML Digital Ink Recognition
can someone please help me disable the spelling correction when using Googles ML Digital Ink Recognition. I need the recogniser to skip this step.
Thanks so much
I can't find the disable function in ...
0
votes
1
answer
25
views
Swift Picker Containing A View Not Showing The Color component
So I want to have a dropdown containing different categories and each category should have a color, the string value of the category should be binded to my viewmodel.category.
This is what I have:
...
0
votes
1
answer
21
views
Unity IOS PostProcessBuild
In Unity, because of the packages i use in project i need to run pod commands after build. Doing it every time takes so much time. I want to run pod commands after build automatically. I use the code ...
-1
votes
0
answers
10
views
Strange CollectionView diffable data source crash on ios 17
After using xcode 15 for distribution we are having strange crashes from UICollectionViewDiffableDataSource. Crash does not indicate any call stack from our own code. This happens on %100 ios 17 and ...
0
votes
0
answers
11
views
AVPictureInPictureController crashes during initialization
I have used AVPictureInPictureController in my project for a long time. However, I started to get a few crashes every day recently from firebase, and I don't think it provides too much information.
My ...
-1
votes
0
answers
13
views
Possible to use NFC for iPad [closed]
I know that iPads do not have the ability to read NFC tags, unless paired with an iPhone. However, I know there are payment systems that use an iPad to scan NFC credit cards, so I am hopeful there is ...
-1
votes
0
answers
7
views
What is Accessory protocol string (com.apple.blabla ???) of Apple Watch
I am trying to build application for iOS that from the very beginning knows which Apple Watch is currently paired and connected to iPhone. I have two Apple Watches that are currently paired and ...
2
votes
1
answer
29
views
Accessing videos from device's photo library in SwiftUI
I'm building an app for cleaning users' photo libraries, but I've hit a road-block when it comes to accessing videos. Here's the code for accessing and editing photos:
import Foundation
import Photos
...
1
vote
0
answers
23
views
How to add a package from Swift Package Manager by build configuration? (workaround)
Is there any workaround to add a package from Swift Package Manager like in Cocoapods:
pod 'PonyDebugger', :configurations => ['Debug', 'Beta']
pod 'PonyDebugger', :configuration => 'Debug'
I ...
-1
votes
0
answers
15
views
Embed Flutter inside a cocoapod and use it in the main project
I have a requirement where there is an existing project which uses a pod which is also internally created.
For simplicity we will call app as MyApp and internal pod as MyPod.
So MyApp depends on MyPod....
-1
votes
0
answers
14
views
UICollectionViewCompositionalLayout pinToVisibleBounds for group, pin multiple section headers
In general my goal is to have a layout where multiple UICollectionReusableView can be pinned to top at the same time. I'm not sure what should be the data source structure. As far as I understood ...
0
votes
0
answers
12
views
How can I provide a signed iOS app IPA file to an organization for MDM distribution?
I have developed an app for a company that will deploy it to their devices for internal use on an MDM managed device. They have asked me to provide a signed IPA file to them. I am a small company ...
0
votes
0
answers
27
views
How do I remove road and country labels in MKLookAroundView in SwiftUI?
I want to remove the street names etc in LookAround in my SwiftUI app. I can’t seem to find any working solutions to this. I’ve seen other apps pull this off and I just can’t find the solution. Please ...
-1
votes
1
answer
6
views
TypeError: _appStoreServerLibrary.SignedDataVerifier is not a constructor node js app-store-server-library
while verify signed data with app-store-server-library.
facing while crating base object TypeError: _appStoreServerLibrary.SignedDataVerifier is not a constructor
fin out on documentation form github ...
0
votes
1
answer
26
views
Do we need to generate Privacy manifest for SDKs or the SDKs will take care of it themselves
Do we need to generate Privacy manifest for SDKs or the SDKs will take care of it themselves?
As I was going through the documentation I'm unable to understand whether I have to take care of the ...
-1
votes
0
answers
11
views
Flutter App IOS Xcode - seeing lage project logo before storyboard
When the app is loading, the initial time between the app window opening and the storyboard graphics loading I see what appears to be the app icon in full screen mode. This is clipping out of the ...
-1
votes
0
answers
17
views
Flutter iOS Listview/ScrollView API call issue
We facing weird issue with Flutter iOS, I have a listview which shows heterogeneous widgets in which some of the widgets are either network images which are rendered using CachedNetworkImage or some ...
-1
votes
0
answers
12
views
in flutter calendar, i need monthly calendar to be start from previous month 25th to current month 24th. example: mar month calendar: 25th feb - 24mar
example:
I need calendar in flutter like above image. the monthly calendar starts from previous month 25th to current month 24th. for example: April month calendar: Mar25-Apr24th. develop this ...
0
votes
0
answers
14
views
Background notification also get muted on removing "sound" from presentationOptions in @capacitor-firebase/messaging?
I'm working on a Capacitor app and using @capacitor-firebase/messaging for push notifications.
My expected output is: I want to show background notifications with sound and handle foreground ...
0
votes
0
answers
8
views
After unholding CallKit, the audio does not restore
In my application, I use CallKit and have supportsHolding = true set.
During my phone call, another call comes in (e.g., GSM). I accept the incoming call and put the current call on hold.
If I end the ...
0
votes
0
answers
13
views
How can I access IOPSCopyPowerSourcesInfo from the IOKit framework in my SwiftUI iOS internal app
I have an internally distributed iOS app that needs to provide user with detailed battery info beyond battery level and state. It seems the only way to do this is using the IOKit framework. I have ...
0
votes
0
answers
12
views
Appium - Unable to take the locators from Appium for Apple Sign-In popup in 16.x OS version
In a native iOS Mobile app, we need to login the app through Apple sign-in using Mobile Automation.
From Appium, while trying to take the locator of the Apple sign-in popup, we are unable to take ...
0
votes
2
answers
39
views
How to design a Flutter screen with gradient background
I'm currently working on a Flutter project and I'm trying to design a screen with a gradient background. I'm relatively new to Flutter and I'm having trouble implementing the gradient background. I've ...
0
votes
0
answers
11
views
Is it possible to prevent the version of BranchSDK from being included as a KEY value in Firebase Crashlytics?
We are using Branch's iOS SDK version 2.2.0.
And the minimum version of our app is iOS 13, and the Xcode version is 15.2.
Whenever an issue occurs in Firebase Crashlytics, the version of BranchSDK is ...
0
votes
3
answers
29
views
Podfile error in during I have run pod install
pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.22.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.22.0' defined in 'firebase_core'
...
-3
votes
0
answers
14
views
Running MediaPipe Pose Landmarker in iOS
In my iOS application in React Native, I'm trying to set up the MediaPipe pose landmarker model. Since there's no direct guide for the iOS platform here developers.google.com/mediapipe/solutions/...
0
votes
0
answers
20
views
IOS Release version showing error "PlatformNotSupported" because of PCLCrypto.SymmetricKeyAlgorithmProvider.GetAlgorithm()
In MAUI project targeting iOS release with MtouchLink = SdkOnly we are seeing the error "PlatformNotSupported" for the execution of PCLCrypto.SymmetricKeyAlgorithmProvider.GetAlgorithm() at ...
-1
votes
2
answers
34
views
React native iOS build failed Xcode
I have developed a React Native project and attempted to execute the iOS build through Xcode. However, each attempt results in a failure with the error message "Command PhaseScriptExecution ...
0
votes
2
answers
17
views
Framework 'Flutter' not found - While build iOS app
Failed to build iOS app
Error (Xcode): Framework 'Flutter' not found
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
...
0
votes
1
answer
65
views
How to load multiple data asynchronously in Swift?
I am making an iOS app using SwiftUI. The app will have a lot of images to show in the views. The images are stored on the cloud in a hierarchical structure. I am trying a way to load each of the ...
0
votes
0
answers
17
views
Open View When Notification Tapped
It should be a simple feature, but I'm stuck with no luck. I just want to be able to tap a notification and have it open a basic ViewController with a label showing the notification. However, nothing ...