Category "ios"

App rejected due to UIRequiredDeviceCapabilities key

I just developed an iOS app which is used WebView features by Flutter framework and after several submitting to upload it into App Store, it was rejected due to

how to archive UITextView and UITextField data binding

problem description: After currently changing the attribute of UItextView, when I change the content of UITextView by entering text in UITextField, the f

KMM ios flow.combine throwing no event loop error

suspend fun heyStackOverFlow(): Int { val flow1 = flow<Int> { 1 } val flow2 = flow<Int> { 2 } return flow1.combine(flow2) { f1, f2 ->

Flutter error building for iOS "ld: framework not found"

I've been working for a few weeks on a Flutter app which I run on Android and iOS. It worked well until some days ago I upgraded the flutter version and some pa

SwiftUI Custom List Cell - disable horizontal padding/shrink in EditMode

I'm trying to create a custom List cell in SwiftUI, where the drag-icon in Edit Mode stays inside the cell. By default, the cell gets horizontally shrinked do m

SwiftUI Preview crash with await async iOS15 if returns a struct with UUID

I reduced to very simple code. If the struct has a Int is working, if there is an UUID the preview is crashing (it's working if I run on the simulator or real

Uitextfieldwith dashed line, focus, default dashed color lines in swift

I haven given spaces between chars with NSattributes.kern, need to change focus color of next char border when text enter, should be do with one textfield class

IOS Silent Remote Push Notifications not delivered to app

Need some help interpreting this: I have set the background modes and remote notifications in info plist. Looking at the console logs, message arrives to the ph

iOS - Failed to upload video file from swift to FastAPI server

I took the code for uploading the video file from this question, however, an error occurs. This is the code to select a video from an album: var videoURL: URL?

Can I schedule a single background task to run at sometime in the future on iOS

I need to queue a background task on iOS to run specifically 1 minute later, and to run only once. All I have found so far in the docs is running a periodic tas

Cannot get Alerts to show on iPhone no matter what way I code it and I have tried 4 different ways

Of these 4 methods mentioned, they all work in the simulator, but non of them work on the iPhone. Here are the pieces of code that come into play here. <List

Recenter the scrollview content Swift

I'm trying to recenter the scrollview view and move the frame, when the user current location goes to the out of the screen frame. Currently I have a PDF a

How can I make swift package management make offline? Every time I open a project, it begins downloading, which takes longer when the project is huge

Every time I open a project, it begins downloading, which takes longer when the project is huge.

`Task` blocks main thread when calling async function inside

I have an ObservableObject class and a SwiftUI view. When a button is tapped, I create a Task and call populate (an async function) from within it. I thought th

swiftui matchedGeometryEffect with scaleEffect problem

Why when opening and closing the viewModel (color.green) , the circle tremble and vibrate and the model becomes above the circle when moving when i change the v

swiftui matchedGeometryEffect with scaleEffect problem

Why when opening and closing the viewModel (color.green) , the circle tremble and vibrate and the model becomes above the circle when moving when i change the v

UIButton with custom image still shows titleLabel even though I set it to blank - Swift iOS

I'm pretty new to Swift, currently writing an AR game. Seems like my issue is very basic, but I can't figure it out. I added a button to an AR Scene through the

Keyboard does not change appearance in iOS dark mode

I am testing Dark Mode in iPhone 12 Pro (iOS 14.4). I enabled Dark Mode in Settings but my Keyboard remains the same. It does not appear in DarkMode. I have 2 q

Firebase Delete User who signed it with apple correclty

I have implemented the Sign-In-With-Apple with Firebase. And I also have the functionality to delete a user. This is what I do: static Future<bool> dele

Gmail app converting PDF on to Email not working properly on UIActivityViewController using PDFKit

Ran into some pdfkit issues when you share a PDF with UIActivityViewController and Gmail doesnt convert the PDF file properly it works on every other platform (