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,206
questions
0
votes
0
answers
4
views
How to dismiss the first scene in Swift?
I am developing a mobile 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 ...
0
votes
0
answers
3
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 ...
-1
votes
0
answers
12
views
Important question for my studies (Mobile, Web, React Native ?) [closed]
I'm reaching out to ask an important question for my studies.
I need to create an application that must work on mobile (Android and iOS) as well as on the web (with a specific part only present in ...
0
votes
0
answers
13
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
12
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
17
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
18
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
5
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
9
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
23
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
10
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
9
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
12
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
26
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
...
0
votes
0
answers
19
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
14
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
13
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 ...
-1
votes
0
answers
8
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
26
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 ...
-1
votes
1
answer
19
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
13
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 ...
-1
votes
0
answers
12
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
11
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
38
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
7
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
27
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'
...
-2
votes
0
answers
13
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
15
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
30
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 ...
-1
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
61
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 ...
0
votes
0
answers
14
views
Undefined symbol: _GADUnifiedNativeIconAsset while migrating GoogleMobileAdsMediationFacebook with GoogleMobileAds iOS
I would like to migrate Facebook mediation with Google Mobile Ads.
Pod:
pod 'Google-Mobile-Ads-SDK'
pod 'GoogleMobileAdsMediationFacebook'
Getting the below error after migrating to the latest ...
-1
votes
0
answers
25
views
Best way to draw shapes on images in swiftui
I want to draw shapes like circle/rectangle on the top of image in swiftui using Canvas and it should stay there even image size changes from different devices and rotation?
-1
votes
0
answers
31
views
iOS 17.4.1 requestTrackingAuthorization returns Denied status always
I am facing the issue 'iOS requestTrackingAuthorization status always denied', even after updated to iOS 17.4.1. Is there any work around for this?
0
votes
1
answer
36
views
ios maui.net custom webview default BaseUrl path
i have this custom web-view as follow in :
MainPage.xaml
```
<controls:HybridWebView
x:Name="MyWebView"
HeightRequest="140"
HorizontalOptions="...
0
votes
0
answers
13
views
Unseen text bubbles MessageKit
I am trying to use messageKit library for my app. Even the beginning of the interface building I have an issue. Although I design my codeblock as shown in the quick start and some usage videos, when I ...
-1
votes
0
answers
12
views
(iOS) Can we have multiple APNs files for the same app?
We are in the process of migrating from one CCM to another. I need to generate a new .p8 file so our new CCM can send push notifications to our iOS app via APNS. If I do this, can our old CCM still ...
-1
votes
0
answers
19
views
In SDWebImageSwiftUI, which has more priority: the header Cache-Control or SDImageCache.shared.config.maxDiskAge?
I am assuming that SDWebImageSwiftUI takes the header Cache-Control max-age into account when defining the cache expiration date (not sure though).
But what happens if I set SDImageCache.shared.config....
-1
votes
1
answer
35
views
Apple Complains About Missing API Declaration In Titanium App
I received an email from Apple regarding my app written using Titanium SDK. It says:
Although submission for App Store review was successful, you may want to correct the following issues in your next ...
0
votes
0
answers
27
views
How to keep drag preview exactly the same as original item?
Consider following simplified code for an element that can be dragged
HStack {
Icon(icon: .iconDrag)
Text("Title")
Spacer()
}
.padding(16)
.onDrag {
...
0
votes
0
answers
28
views
How does iOS notifications handle cases without content-available key
I'm troubleshooting an existing codebase where notifciations do not appear to be firing or at least are not firing to my understanding.
Things I have found in testing:
Context: The feature is chat
...
0
votes
1
answer
19
views
Tried implementing an Animation to a Flutter Widget, but it is not working
I'm trying to animate a widget to its normal position with a smooth slide movement as soon as it shows on the screen, however, after implementing the code below, it did not work, tried multiple things ...