Category "ios"

Error 'cannot find type 'UIHostingController' in scope'

Why could a distribution build be failed with SwiftUI? I added SwiftUI into my iOS 10+ project, and build it locally with @available(iOS 13.0, *) prefix, but wh

Shopify iOS SDK error: Value of type 'Storefront.ShopQuery' has no member 'currencyCode'

I'm getting started with Shopify's iOS sdk and in following the official readme on GitHub, I keep getting an error that I can't get rid of. I've followed the se

Shopify iOS SDK error: Value of type 'Storefront.ShopQuery' has no member 'currencyCode'

I'm getting started with Shopify's iOS sdk and in following the official readme on GitHub, I keep getting an error that I can't get rid of. I've followed the se

How can I fix this Mixpanel iOS 30-second background task timeout bug (mixpanel-react-native)?

Problem My app is occasionally terminating in background after 30 seconds in release mode. The below warning appears after ~30 seconds of the app being sent int

HealthKit background fetch without observing

I want to make regular HealthKit requests in the background in a BGTask. I don't want to observe changes in HealthKit necessarily. Is this possible?

PhaseScriptExecution error in React Native app

Facing this error when I run react-native run-ios after creating the project Error - error Failed to build iOS project. We ran "xcodebuild" command but it exite

CocoaPods not installed. Skipping pod install

My app was working fine until I did 2 small changes. On Target runner in Xcode I enabled bitcode for the project. I update the Android studio to the latest vers

Selection of nested CoreData List SwiftUI

Im trying to make my List selectable so I can delete or share multiple instances! Im trying to do that, with this method: List(selection: $selection) Here's my

Understanding Flutter and React Native [closed]

I am evaluating React Native and Flutter. I am not experienced in both of these frameworks and hence need some information which I did not fin

Why is Xcode crashing when I try to preview?

Every time I am trying to resume my preview canvas in Xcode I get this annoying error. I tried restarting, moving the project to another location, and changing

iOS Deep link callbacks not working when the app is closed

I'm using a deep linking in my application and using this code in my SceneDelegate to segue to a view controller. func scene(_ scene: UIScene, openURLContexts U

xcodebuild gives an error for multiple implementation of AMSupportURLConnectionDelegate and AMSupportURLSession : "Which one is undefined."

When I want to run any xcodebuild action it gives me the following error while the Xcode ide is working fine on Apple M1. > xcodebuild -version objc[72320]:

Get the devices list from iPhone Bluetooth , including connected and unconnected devices

The Bluetooth search page of iPhone shows these offline Bluetooth headsets. I hope to get this list and show it in my app. Can I realize this function? How? th

How do I center an Image view in pdf format with SwiftUI?

I have a vector (converted to Pdf) that I want to use as my background for my app. However, the Image is aligned all the way to the left as you'd expect when us

Unable to Update XCode: Not enough space [duplicate]

I am trying to update XCode from 11.2.1 to 12.4. I installed XCode from the app-store, so I am trying to update it from there itself. I have 2

SwiftUI DatePicker jumps between short and medium date formats when changing the date

(Using Xcode 12.3 and iOS 14.3) I use a DatePicker component with the default style (DefaultDatePickerStyle) to display and edit a date: the component shows the

Swift // MLDataTable error: Couldn't lookup symbols:

import Cocoa import CreateML let data = try MLDataTable(contentsOf: URL(fileURLWithPath: "/Users/allan/Downloads/twitter-sanders-apple3.csv")) I got this erro

Flutter iOS version app crashed due to consuming high memory

I have developed a flutter app using the Bloc pattern. Everything was fine until we encountered a memory crash in iOS. The Android version works well without an

Why primitive View in SwiftUI has no body?

The View protocol requires a body property: public protocol View { associatedtype Body : View @ViewBuilder var body: Self.Body { get } } Why have some

How to load raw image using PHPicker in iOS programmatically?

I can load normal images: public.image types. The Apple proRaw(adobe raw image type: DNG format) can be used in iPhone 12 series. So, I captured with RAW image