Category "ios"

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

How to link to documentation from another module/package in xcode docc?

I am trying to create articles in my docc in xcode. My project have multiple modules. For link to article within one module i have doc: markup. But i don`t unde

UITableView content stuck under UINavigationBar, maybe caused by scrollEdgeAppearance?

I've made hundreds of table view controllers over the last decade and I don't know why this is happening. The content of my UITableView is stuck under my UINavi

Video upload with Instagram API now allowed?

According to the Instagram documentation, Instagram only allows API uploads for images (JPG, PNG). A new iPhone app called Cinamatic allows users to upload vi

iOS - CocoaPods requires your terminal to be using UTF-8 encoding - after latest flutter upgrade

I am getting this error after I upgraded flutter. Before upgrading everything was working normal on both iOS and android. Now my project is not building in iOS.

iOS - CocoaPods requires your terminal to be using UTF-8 encoding - after latest flutter upgrade

I am getting this error after I upgraded flutter. Before upgrading everything was working normal on both iOS and android. Now my project is not building in iOS.

Mic input through headphones and output to iPhone speakers

Is there any way yet of being able to use wired headphones' mic as input and iPhone speakers as output using the high level AVFoundation framework: AVAudioSessi

How to resign first responder from text field when user tap elsewhere?

I have filled my view with ScrollView (same size as the view) and I'm stuck at how to resign first responder when user tap elsewhere in the View (or the scrollv

Kivy use Android Notifications

Is it possible to use python and/or kivy to send local notifications on ios? Really it does not have to vibrate, just a number icon and maybe a real-time messag

Detect button click in WKWebview

In my IOS Application I've created a WKWebview of a website that I'm not owning myself. So inside my: func webView(_ webView: WKWebView, didFinish navigation:

How to assign default modifiers to a SwiftUI view?

I'm trying to make reusable custom views that themselves can be customized later. Ideally I'd be able to define default modifiers like Color, Font, etc that the

Unable to set accessibilityIdentifier of UISegmentedControl's segments

I found out, that even though I could set accessibilityLabel of UISegmentedControl's segment (see: How do I set the accesibility label for a particular segment