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,061
questions
0
votes
0
answers
12
views
SwiftData rollback not updating the UI
I'm building a simple App using SwiftData. In my app a user can create, remove and edit posts. When editing, I want them to be able to hit "Save" to persist the changes or "Cancel" ...
-4
votes
0
answers
16
views
I am looking for a chart that shows the differentce between mobile and web technologies [closed]
I am trying to find a chart that shows the eveloution of mobile vs web technologies over time (let's say for the last 5 years), but for some reason I am not able to find somethong like this. Do you ...
-1
votes
0
answers
5
views
Archive Fails only when invoking fastlane from Remote Jenkins Server works totally fine when done locally or done from Jenkins Localhost
I am trying to build pipeline for our iOS project using (fastlane + Jenkins). It works totally fine when I am running machine on local host but fails when I connect the same AWS EC2 instance to our ...
0
votes
0
answers
9
views
setValidatesSecureCertificate:NO causing error
I am working on old project and something weird is happening.
Below is the code we have.
-(void)startRequest{
if (![NetworkConnect connectedToInternet]) {
[self onError];
return;
...
0
votes
1
answer
35
views
SwiftUI PhotosPicker - get the size of picked item in Kilobytes
var body: some View {
PhotosPicker(selection: $selectedItem, matching: .any(of: [.images, .videos]), photoLibrary: .shared()){
Image(systemName: "camera.fill")
....
1
vote
0
answers
20
views
DOMException Error When Decoding Audio Data from .mov File in React App
I am working on a React application where I need to extract audio from a video file uploaded by the user. The video file is in .mov format, uploaded from iOS or macOS devices. However, I am ...
0
votes
0
answers
23
views
Using GeometryReader to nest LazyVStack, the safe area is automatically ignored when the subview slides up [closed]
When I use GeometryReader to nest LazyVStack, the safe area is automatically ignored when the subview slides up.
Here is my code.
import SwiftUI
struct VerticalCarouselView: View {
@StateObject ...
0
votes
1
answer
20
views
Strange error with "Cannot form key path to main actor-isolated property ..." in Swift concurrency
I have this code:
// empty struct for demo purpose.
struct DailyRewardItem {}
@MainActor
protocol Plugin {
var dailyRewardItems: [DailyRewardItem] { get }
}
enum MagicItemType: CaseIterable {
...
0
votes
2
answers
34
views
How to deallocate resource in main actor isolated object in deinit
I have a main actor isolated class like this one:
@MainActor
open class TimerScheduler {
private enum TimerState {
case normal
case paused(remaining: TimeInterval)
}
private struct ...
-1
votes
0
answers
14
views
I am having a problem building my flutter app
When I use flutter build iOS function I get this error. I have not had this before, and cannot find information online.
Error (Xcode): Package google_api_headers:ios references google_api_headers:ios ...
-1
votes
0
answers
24
views
use of custom UIAlertController
I'm curious if I will run into trouble of getting my app approved by App Store if I'm using customized UIAlterController.
I wanted to make the UIAlterMenu to look the way I want, so I make some ...
-1
votes
0
answers
13
views
Xamarin loop while trying to run a simulator
I just tried to debug my ios application on Xamarin. Paired my Mac, and then when I run debug, it loops in this way: Checking Server, Connecting to Mac, Connected. And repeats every second.
I tried to ...
0
votes
0
answers
19
views
How to request full access for ios keyboard extension
I'm developing an ios keyboard extension app. When user first logging into the application, I direct the user to the settings page, but during my Xcode build, the keyboard setting in the image ...
0
votes
1
answer
25
views
Share Audio (MP3) to WhatsApp with text using UIActivityViewController
I'm trying to share an audio file (MP3) using UIActivityViewController. While the audio file is shared successfully, the accompanying text message I'm adding does not appear in the message. It only ...
-4
votes
0
answers
24
views
Do you know if there are libraries for blurring faces and nudity in images for iOS? [closed]
I am looking for a library or ML model that can be used for blurring out faces and nudity if either is present in an image. Do you have any suggestions for such libraries or models?
Or how would you ...