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.
688,119
questions
0
votes
0
answers
3
views
Passing argument of non-sendable type 'PhotosPickerItem' outside of main actor-isolated context may introduce data races
My code looks like this and there's a concurrency warning when accessing the loadTransferable for the selectedPhoto from PhotosPicker
struct SampleCode: View {
@State var showOptionSheet = false
...
0
votes
0
answers
8
views
Using MapKit to select places and extract info
I'm a bit lost on implementing a way to select a local business/place after a search and extract the phone number and name of the place. I want to do this using a sheet pop up but I'm not able to ...
0
votes
1
answer
10
views
Is there an image cropping interface in PhotosUI/SwiftUI
I am unable to find a way to show the cropping interface like in WhatsApp when using PhotosUI in SwiftUI.
Eg:
I’m assuming this is the standard UI provided by Apple and not custom made by WhatsApp. ...
0
votes
0
answers
6
views
React native permission warning upload loading: No permission handler detected
I have a react native project. Within this react native project, I want to get a users location if they give permission so that I can get their longitude and latitude. I was not getting an issue when ...
0
votes
0
answers
16
views
Download PDF is not working in Safari browser only
Download PDF JavaScript function is not working only in Safari browser. However it is working fine for other browsers like Chrome, Edge etc. We tried the below code from the aura component. It doesn't ...
0
votes
0
answers
15
views
fail to implement SwiftUI object tracker
I want to use SwiftUI to implement a camera which can track object, and then I find source code using UIView, I want to migrate it to SwiftUI
my key code is here and I delete non-relative part(camera ...
-1
votes
0
answers
7
views
State Management for Apple autofill passwords
so i have a password formfield (just some component with textinput and some styles). When I focus on it, apple prompts me to ask if I want to choose a strong password. I then say no and the form ...
0
votes
0
answers
17
views
Fatal error during migration to add an enum field
I'm migrating my two SwiftData models to a V2 VersionedSchema.
In this migration, I do the following changes:
Change two field types
Change a Relationship deleteRule
Add a field with a Codable enum ...
0
votes
0
answers
7
views
Issue with Offer Code Redemption: SKPaymentQueue Observer Not Notified in StoreKit
I'm developing an iOS app that supports in-app purchases and I'm using StoreKit2 for handling transactions. While purchase, promotion, and restore purchase functionalities are working fine, I'm facing ...
0
votes
0
answers
10
views
Enhancing In-App Call Persistence: Allowing Users to Navigate Freely Without Interrupting Calls
My Request
I have an App that is live on the App Store and Play Store, in my App it allows users to make a phone call to one another. I'm using livekit.io for the calling functionality. It is working ...
0
votes
0
answers
22
views
SwiftUI @AppStorage causes views to refresh/reinitialize with DragGesture
I have a weird issue on SwiftUI iOS 18, when using DragGesture and dragging a view from the left side of the screen (In that cases), causes any View and Sub-View with @AppStorage in it to reinitialize ...
0
votes
1
answer
20
views
Why does running an iOS app through macOS cause "Failed to look up symbolic reference" crash?
I'm trying to run an iOS app natively using macOS, now that Apple-Silicon-based Macs support running iOS apps natively. But for some reason when I ran the app, right after it finishes launching it ...
0
votes
0
answers
7
views
Flutter IOS error after url change: Failed host lookup (OS Error: nodename nor servname provided, or not known, errno = 8)
Updated a flutter app that was going to change servers, so I needed to update the api url. I did it on android and it worked just fine. I did the same thing on IOS, and when I try to login I get the ...
0
votes
0
answers
28
views
How to remove button highlighted style?
I have a button with background image. I have a grey color when I click on my button. I want to remove this grey fill image color. How to do it?
example:
code:
barButton = SLButtonWithImage(type: ....
0
votes
0
answers
15
views
Best format and way to share audio or video using ActivityView Controller in Swift
I am new to audio and video assets in Swift and am trying to enable users to share audio or video using ActivityViewController.
To share text and images I can do:
var bestContent0 = "Check out ...