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.
669,837
questions
0
votes
1
answer
17
views
website or app for sending notification for a location
Is there a website or app for sending notification for a specific location?
I need to send notification and make it available for people in that location.
Please let me know.
0
votes
0
answers
4
views
SwiftUI: make @ObservedObject var optional?
In a view, I have something like this:
struct DriverView: View {
@ObservedObject var car:Car?
.....
}
I get this error:
Generic struct 'ObservedObject' requires that 'Car?' conform to '...
1
vote
2
answers
725
views
How to add test data to PreviewProvider
I am new to iOS/Swift and to the MVVM architecture and was wondering how to send in test data to the SwiftUI Preview. (Actual data is received from the ViewModel from an API call)
Test Data that I ...
0
votes
0
answers
6
views
How to solve react ionic capacitor status bar problem
I am using react ionic capacitor for ios app.
I have problems in status bar.
My application covers all screen and status bar.
Is there any way for app not to cover status bar region?
0
votes
0
answers
3
views
CoreData and Swift: how can I get the objects in a relation with another object?
I have an entity called train_list and another called word. They have a one-to-many relation, so I can have many words in the same list. I've gotten one train_list and I want to get the words that I ...
0
votes
1
answer
14
views
How can I change fontWeight of a placeholder in SwiftUI?
In my SwiftUI project I have a placeholder that I want to be .heavy, but when I try to modify fontWeight it says that fontWeight is define on Text, what should I do?
This is the code:
TextField("&...
0
votes
1
answer
18
views
unable to readCharacteristic in IOS using flutter_reactive_bel
IOS app is crashed after the connecting with device so for handle the crash using scanStream.cancel(), but after doing this one of my readCharacteristic is not working fine i am not getting the ...
0
votes
0
answers
11
views
ios - Failed to upload video from swift to server
I wrote the code through this question
Uploading video using URL swift Alamofire
I want to upload a video to the server, but an error occurs
Where do you have a problem?
This is my swift code.
This is ...
0
votes
0
answers
16
views
IONIC 4 notifications Status Bar and badge not working in IOS
I'm using Ionic 4 and ANGULAR version 9 trying to send notification in IOS using Cordova.
I did all the requirements to push IOS notification:
Create a Firebase project.
Download configuration ...
14
votes
1
answer
19k
views
Flutter error: No profiles for ‘xxx’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘xxx’
I am trying to test a Flutter app on an iPhone but I am getting the error shown below, This error happens during a build step.
error: No profiles for 'xxx' were found: Xcode couldn't find any iOS App ...
4
votes
1
answer
909
views
Unable to mutate user attributes using iOS Cognito UserPool SDK after signup
I am trying to change a user's attribute (i.e family name) after they have signed up. This is an attribute that has been selected in the cognito user pool and was filled out when they initially signed ...
-1
votes
0
answers
5
views
Integrate FB Messenger with Swift 5 (iOS)
I'm trying to integrate FB Messenger with Swift.
I already have Facebook Login integrated and that seems to work.
Specifically, I want to get the overview of a conversation (like the last message ...
0
votes
1
answer
7
views
NSFetchedResultController Modifying Core Data In Modal View
I'm encountering a crash when I insert a new entry into Core Data from a modal view.
-[MyObject compare:]: unrecognized selector sent to instance
libc++abi: terminating with uncaught exception of ...
0
votes
1
answer
10
views
Share button not showing in UIDocumentInteractionController
Using UIDocumentInteractionController for sharing all kind of files when click on share button there is no sharing button please check the code and guide me thanks.
@IBAction func didTapShare(_ sender:...
1
vote
0
answers
12
views
Has anyone been able to override/block the new iPadOS 15 behavior of rotating iPhone apps in landscape?
The new behavior
Ideally we'd have native iPad support, but that's a ways off and not feasible at the moment. So for now we have to work with iPad running the iPhone app. Hybrid Swift and Objective-C ...