Category "ios"

SWIFT: Button Title changing back to original title unwarranted

So I have the following code which executes upon tapping one side or another of my segmented control: @IBAction func logInOrSignUpIndexChanged(_ sender: UISegme

Invalid bundle structure - The app may contain only one executable file.

This question is similar if not identical but there is no solution. I've looked inside the archive and there's only one executable, so I am at a loss as to how

how to resolve the iOS deployment target issue in flutter

I am facing this issue related to IPHONEOS_DEPLOYMENT_TARGET while build the flutter application for the ios platform repeatedly, I am not able to understand h

UIBarButtonItem Initializer with Image and Title does not show Title

I am using init(title:image:primaryAction:menu:) of a UIBarButtonItem Apple Documentation on a Toolbar with the hope of showing a button with both image and tit

iOS button title color won't change

I'm creating a UIButton dynamically with the following code which creates it as per specified style. let frame = CGRect(x: 10, y: 6, width: 60, height: 30 )

iOS Document Picker crashes when picking a PDF on a real device

I try to create a Document Picker for my iOS app. Here is my code (I wrapped the UIDocumentPickerViewController in my SwiftUI View, with UIViewControllerReprese

How to add properties in info.plist in iOS

I want to open PDF attachment via email in my own application: I refer two link here: How do I associate file types with an iPhone application? and here on Rayw

flutter mapbox gl doesn't stop scrolling on iOS simulator when mouse button is released

I am working on a cross platform app using mapbox gl with flutter. It has been built for Android and works as expected there, and I am trying to get it working

How to compare a color in swift

I am trying to compare colors but I cannot use the isEqual method because I am trying to compare the color of the background of a UICollectionViewCell. What is

Pods-resources.sh Permission denied in iOS Project

I have got an existing project from a client and I tried to run this in my MAC using XCode 5.0 But I am facing this following error. I installed Cocoa Pods but

Can I change multiplier property for NSLayoutConstraint?

I created two views in one superview, and then added constraints between views: _indicatorConstrainWidth = [NSLayoutConstraint constraintWithItem:self.view1 at

How can I remove my app temporarily from the Apple App Store?

I want to remove app temporarily from Apple app store. In the App Store (formerly iTunes) Connect dashboard under pricing and availability there is an option "R

How can I remove my app temporarily from the Apple App Store?

I want to remove app temporarily from Apple app store. In the App Store (formerly iTunes) Connect dashboard under pricing and availability there is an option "R

Flutter: CocoaPods's specs repository is too out-of-date to satisfy dependencies

Current, I was trying to add firebase_core: ^0.5.0+1 and firebase_crashlytics: ^0.2.1+1 packages in my flutter project with the latest versions, It works withou

Using UINavigationController to decide which view is currently showing

I would like to know if there is a way to tell which UIViewController is currently showing by using the UINavigationController. I have a delegate in which I ret

AVPlayer : change rate with NO pitch correction?

I am using the rate property of AVPlayer to change the playback speed of an audio sample. It seems to always apply pitch correction, but I want no pitch correc

UIScrollView not scrolling when adding UIButtons as subviews

I'm trying to build a simple UIScrollView with paging to horizontally scroll between 3 images. The tricky part is that I would like that each image would be cli

ideviceinstaller not connecting with network option

the option just outputs the usage of ideviceinstaller but with no error and does nothing. own@penguin:~$ ideviceinstaller --network 172.20.10.3 --install dark.i

Compute Diffie-Hellman key pair and shared secret in iOS with Swift

I need on iOS with Swift to: Generate a Diffie–Hellman key pair with a pre-agreed modulus P and a base G Compute a shared secret with a local private key,

'hitTest()' was Depecrated in iOS 14.0

I'm new to this and currently building an AR-related application, on the old version I stated this let results = self.hitTest(screenPosition, types: [.featurePo