Category "ios"

iPhone constantly disconnecting while working in Xcode

I've been developing an app for a while and I haven't had any problems running the app on the device.. now a few days ago, whenever I connect the iPhone, it pla

iOS: How to add Assets folder inside a Framework and how to access them in code?

I create an iOS app and added a framework to it. The generated framework doesn't have an assets folder like the generate Single View App. So I made an Assets fo

Is it possible to create IndoorMaps like airports from Apple with IMDF?

Im quite confused about creating an IndoorMap for our company to display it on iPad's. Regarding to the new IndoorMaps-Program from Apple I thought I found the

get a error msg when test myapp on ipod

I use xcode4 develop a base map app , i set a region use MKCoordinateRegionMakeWithDistance like follow: self->map.hidden=NO; CLLocationCoordinate2D loc

Turn off or bypass SSL Certificate Verification in Swift iOS

I have my server certificates expired. I want to bypass or turn off certs verification from my swift iOS app so i can test app features. I need this just for

Scrolling is disabled when adding UIPanGestureRecognizer to UIScrollView

I have a scroll view and I want to make it disappear whenever a pan is done. It works fine and on panning the scroll view disappears but the problem is now I c

ERROR ITMS-90596: "Invalid Bundle. The asset catalog at 'Payload/ExpoKitApp.app/.bundle/Assets.car' can't be processed."

Problem summary : I would like to submit an app to the Apple App store (TestFlight). I am using Transporter v1.1 to submit the app. I am getting the following e

React-Native Bundle Error error SHA-1 for file is not computed

I am facing this error while creating bundle of react-native app. I am executing command react-native bundle --dev false --entry-file index.js --bundle-output

I can't make extension convenience init for UIImage

I want to create UIImage(urlString: String?). There is no error when I run this code but it is not working. extension UIImage { convenience init?(urlString:

XCode giving (“CFBundleExecutable” is not specified)

I'm trying to build and run a flutter app on my iPhone or iOS simulator. When I do a build, the build succeeds but it's giving me: Unable to install “Runn

How to make a UIButton looks like a email link button?

I am doing a contact us page. Here I want to add a email link and also I want to open the iPhone's default mail app while clicking that link. I don't know how t

Simulator slow-motion animations are now on?

A while ago I was experimenting, trying to see if i could get navigation items to animate and scroll between each other. I don't know if this is related but su

How to upload an image to use in issue comments via Github API

I'm currently working with Github API to make an iOS github client app. I'd like to implement the feature of creating issues with images. My question is how to

Create an IPA file with ionic

I'm trying to compile my ionic app for iOS. It compiles well with the simulator, so I'd like to test it on some friend's iDevices (I don't have any iphone or ip

@MainActor is not safely when it used with propertyWrapper?

Combined use @mainActor and propertyWrapper is not safe? The code will execute directly in the background thread. It is a bug? Here is the demo: struct DetailVi

Should one leave asserts in production iOS apps?

Common practice might be to put asserts in code to check input parameters, data integrity, and such, during app development. I test my apps, BUT, given that I'm

How to add action for UIButton

I am new to iPhone technology. Please anyone tell me how to add action for UIButton. UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect]; btn.fra

UIStackview align left

I'm trying to align the items in UIStackview horizontally to the left. Is there anyway to do this programmatically? I tried to do this via storyboard but was n

Facebook adding tester users and admin is: (pending), what does that mean?

The new Facebook developer integration should be really handy and easy, but i'm struggling with creating a test user or a regular Facebook user to get permissio

ios What is the difference between objc_getClass and objc_lookUpClass

Apple’s explanation is objc_getClass is different from objc_lookUpClass in that if the class is not registered, objc_getClass calls the class handle