Category "ios"

How to implement CA pinning in iOS to prevent man in the middle attack?

I have read several topics, blogs about SSL pinning in iOS and have implemented the following strategy to do SSL pinning way back in one of the app Current SSL

How to fix UI of GMSAutocompleteViewController in iOS 15?

Before iOS 15, the Autocomplete feature was totally fine. However, from iOS 15, the GMSAutocompleteViewController has the bug as can be seen in the following sc

React Native iOS build fails - Mac M1

I created a react-native project and added Firebase libraries to it. After which when i try npx react-native run-ios the build fails with below message. Compile

In UICollectionView not obeying zIndex of UICollectionViewLayoutAttributes

I'm trying to make the top cell of the collection be behind all the other cells by the zIndex factor ┌───────

How can I observe an array of CoreData objects in SwiftUI? [closed]

I am relatively new to SwiftUI and am having troubles finding a solution to a problem I have with my UI not updating when a change is made to

Best way to work with a small db in swift ios app from a performance point of view?

I'm using an sqlite db to populate an ios app with data about irregular verbs -- it's a language learning app. The db has 3 tables, verb categories, verbs, and

Can I use Health Kit in my app if my app is not published on app store

I have an application that is not published on Apple App Store but it can be installed via a URL. Now I want to integrate Apple Health Kit into this app. Are th

Variable was never mutated...or Constant being used before initialized

So I'm wanting to get jsonMeals data back and use it outside of this function. However it seems no matter where I place my json variable I get an error. Changin

How to send the URL Swift to javascript iOS

I'm working on voice recording functionality.Voice recording has been done through webView now when the user clicks on voice record recording starts, and making

"Undefined Symbol for architecture arm64"

Im new to swift programming. Im building a tic tac toe app for practice. when I want to run the app, the build fails with the error message: Undefined symbols f

How to pass out parameter to function from Swift FFI?

Let's say I have a function defined in Rust, which looks like this: #[no_mangle] pub unsafe extern "C" fn do_something( my_value: *mut MyStruct, some_pa

Testflight app review - probleme with two-factor authentication

I submitted my IOS app to TestFlight beta testing.. The application requires login with apple id account. but the review team rejected the version with reason:

Endless generating dSYM in Fastlane

I develop iOS application and I use fastlane to distribute ad-hoc *.ipa. then I'd like to use integrate with CircleCI pipeline but I stuck in this step too long

SwiftUI: View does not fully update, lags behind when its @ObservedObject is updated from parent?

I have the following code: struct ContentView: View { @Environment(\.managedObjectContext) private var viewContext @State var selectedItemMOID

tableView(_:cellForRowAt:) crashes with com.apple.main-thread EXC_BREAKPOINT

There is one strange crash in Firebase Crashlytics logs that occurs quite often, saying: Crashed: com.apple.main-thread 0 AppName 0xd454 S

FB_SONARKIT_ENABLED=1 flag not working when initialising Flipper in iOS app (iOS NO APPLICATION SELECTED)

I followed all the steps from: https://fbflipper.com/docs/getting-started/react-native-ios/ (both automatic and manual installation). FB_SONARKIT_ENABLED=1 does

Segue Identifier is going missing in Swift 5.6

I've only been programming for a month, and I am trying to cobble together a mockup and I keep getting the following error: Terminating app due to uncaught exc

SwiftUI @AppStroage - 'Simultaneous accesses to *, but modification requires exclusive access'

In my project I was dealing with this issue. After many hours, I was able to track down the causes and reduce them into a small demo, but do not understand the

Fetch history of sent push notifications from Firebase, in iOS app

I have an iOS app that integrated with Firebase Cloud Messaging to send push notifications from. I know that Firebase saves history of all sent notifications. I

xc.workspace file is missing while create new project in expo

hello am new to expo bare flow, I just created the expo bare Minimal project with the comment "expo init demo" and then I opened the project with code but while