Category "ios"

UIAlertController Unable to satisfy constraints

I am converting all my UIActionSheet and UIAlertView with UIAlertController. My problem is when I try to present a UIAlertController of style ActionSheet. Here

SwiftUI Toolbar item getting clipped when back button is pressed

I've run in to a strange behavior in SwiftUI that I can't seem to work around. Given the following simple example app I experience this behavior: The toolbar it

Is there any way to load the GLTF file which is compressed by Draco?

I am looking for a way how to load the draco compressed .gltf on iOS. I am using GLTFSceneKit to render the gltf file which is exported by Blender. But if I com

How can I reset the username Apple Transporter uses?

I've been using Apple's Transporter app on my Mac to push our mobile builds to the app store. Recently, my company made account changes that requires 2FA with o

Setting UIView.isAccessibleElement to true disables clicking of subview in voiceovermode

So I have a custom view controller that displays a dialog with a couple of buttons. When the view appears I want voiceover to read out some basic information d

How to animate collection view layout change while using `layoutAttributesForElements`?

I made a custom collection view flow layout that can toggle (with animation) between "film-strip" and "list" layouts. But after adding some fancy animations to

Archive in Xcode appears under Other Items

I am trying to submit an App to iTunes Connect using the Archive option. Building for a Generic iOS Device it usually shows up under iOS Apps in the Organizer.

`xcodebuild` for scheme and target options

why xcodebuild building the same application differently for scheme and target options? xcodebuild -target uConnect build Above commands builds with Release c

Unique Integer Value

I need a way to generate unique integer values in swift //string let g = NSUUID().UUIDString How can I accomplish the above in int format?

Difference between creating ViewModifier and View extension in SwiftUI

I'm trying to find out what is practical difference between these two approaches. For example: struct PrimaryLabel: ViewModifier { func body(content: Conte

Facebook PHP SDK - "Please close this tab to continue" error in iOS

I'm using the PHP SDK (v5.0) to log users into my site, using the basic code from Facebook's docs (I filled in and/or changed the necessary parts for my website

Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications [Codemagic]

Since I updated my flutter project to v2 I'm getting this error on Codemagic and I don't know what to do honestly. I'm using Windows 10 to develop on Flutter an

WkWebKit - javascript on loaded page finds window.webkit is undefined

I'm experimenting with WkWebKit talking back and forth between app and page. I can get javaScript to execute fine using WkWebView evaluateJavascript method, bu

'Project Name' was compiled with optimization - stepping may behave oddly; variables may not be available

Trying to step into AFNetworking code generates following warning: [Project Name] was compiled with optimization - stepping may behave oddly; variables may not

NSString.boundingRect fails with "[NSNull renderingMode]: unrecognized selector sent to instance" when specifying font

I'm trying to make a collection view where the cells just consist of a label, and I want the width of each cell to match the width of the text. In order to find

How to fix memory issues given by Instrument tools in Swift?

I have memory issues, especially for the error XPC connection interrupted The screen is freezing for a few seconds.. So, I've been learning how to use th

UNNotificationRequest requires unique identifier, but fires on duplicates too

I call local Notifications like so let center = UNUserNotificationCenter.current() let content = UNMutableNotificationContent() content.title = title content.bo

Could not get GOOGLE_APP_ID in Google Services file from build environment

For setting up firebase i am using two config 1.GoogleService-Info-test.plist, 2.GoogleService-Info-prdn.plist for UAT and Production. For installing crashlytic

WheelDatePicker is invisible in iOS 15.0

I'm building an app in SwiftUI that needs DatePicker in the custom alert. Each time I use DatePicker with a WheelDatePickerStyle, it is invisible in IOS 15.0 (a

How to make some part of text clickable and some part having different text color in react-native

I am trying to make some portion of text of different color and clickable Here is my code: <Text style = {styles.term_service}>By signing up, you agree