Category "ios"

SwiftUI how to align the view‘s leading to the most super view’s leading?

I’m new to SwiftUI and I’m making a widget. The default code included a text view which is both x-centered and y-centered in the super view(which I

Toggle select / deselect state of a UICollectionView Cell on tap - Swift

So first of all i've been stuck on this for a few days and spent a full day reading and trying many options on Stack Overflow already but non to my success Wha

Network requests in Flutter app on physical iOS devices are slow

I am working on a cross-platform app using Flutter, for Android, iOS and Web. For some reason though, network requests on iOS are very slow. The app works fine

SwiftUI - How can I blur the default background color of a view?

no code to show here, but I would like to know how it may be possible to do this. I have tried to use .blur(radius: (20) on a view, but it tends to blur the

Get AVAudioPlayer to play multiple sounds at a time

I'm trying to get multiple sounds files to play on an AVAudioPlayer instance, however when one sound plays, the other stops. I can't get more than one sound to

swift - Remove white spaces from var(UITextField input) doesn't work

I'm new to swift, but from ObjectiveC background, I tried to get an input from textfield into a var, on a button click. Now, when I tried to remove blank space

ARKit -[UIView setAnimationsEnabled:] Performing any operation from a background thread on UIView or a subclass is not supported

I have a ViewController that has a collectionView inside of it. I display the contents of the collectionView's cells inside an ARSCNView. When I set the ViewCo

SwiftUI: How do I "zoom in" to a specific CardView on a tiled interface?

I am trying to build a tiled interface out of CardViews. I want the user to be able to tap on a Card and have that Card expand to take up the available space,

iOS App was building fine yesterday, but it won't build today

Yesterday I pushed my first Flutter app to TestFlight in the App Store. While the app was running okay on my iPhone 5 and my iPhone Xr when I build directly to

How can I have onclick functionality for my CollectionView cells?

I want to make it so that when I tap on a CollectionView Cell, it segues to another view. I also want to pass a user ID to this view so I can query the database

Is there an error prone way to exclude certain properties from struct during equality comparison without writting our own == function?

We like the auto equality behavior of struct, by just simply conform Equatable protocol. Sometimes, we would like to exclude some properties out from struct equ

iPhone - Detecting eSIM card availability

I want to detect whether an esim card is used on my iphone, note that it is not a sim card and needs to be distinguished from a sim card. I searched a lot of in

Why do input type="date" and "time" load blank on mobile devices even with a value set?

I'm having an issue where I have two inputs of type date and time that have the value attribute are showing up as blank input boxes. Example: <input type="da

Animating CollectionView cells like iOS Photos app Years/Months/Days picker?

I can't understand what Apple is using here in the iOS Photos collection view. How do they transition the collection view when using the Years / Months / Days /

Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo={NSLocalizedDescription=failed to open zip file}

_ = try? SSZipArchive.unzipFile(atPath: filePath, toDestination: downloadPath.absoluteString!, overwrite: true, password: nil, progressHandler: {

Transporter error IOS App Icon 1024x1024 missing

I am developing an Xamarin IOS app on a windows box. I have been developing this app for the better part of two years. To get my app to Testflight, I right cl

WKWebView open links from certain domain in safari

Within my app I am want to open links from within my domain (e.g.: communionchapelefca.org) in WKWebView but then have links from other domains open in Safari.

Xcode Error Analyzing App Version when validating app in archive organizer [duplicate]

I am running Xcode Version 13.0 (13A233) My build process that is normally run through fastlane stopped working recently ( was working fine up

UIDocumentPickerViewController in SwiftUI on mac (macCatalyst)

So I've been meddling with "moving" a small SwiftUI iPad app to the Mac, and I've hit a bit of a speed bump with UIDocumentPickerViewController. I have wrapped

Can't build a flutter project with PathProvider dependency

Disclaimer: First of all, this is my early attempt to play with Flutter. So forgive me if is a noob question. I had been playing with an MVP-Clean architecture