Category "ios"

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

UIActivityViewController has a weird size and shape

I just got this bug report for me app...the activity view controller is suddenly this weird narrow shape whether I'm on an actual phone or the view controller.

NavigationLink inside LazyVGrid cycles all entries on back, SwiftUI

I have an image grid. Each image on tap should push a view on the NavigationView with the image details. The navigation link works as intended, but when I press

Cloudkit Public Database Error: "WRITE operation not permitted"

I have currently a problem with the CloudKit Public Database. Sometimes I receive an error when modifying records: Permission Failure" (10/2007); server messag

SwiftUI Modal Inherits SearchBar during Sheet Presentation

Consider the following example with a list and a button wrapped in a HStack that opens up a sheet: struct ContentView: View { @State var text: String = ""

Is there a way to preserve capitalisation of original picked file while using UIDocumentPickerViewController?

The iOS 14 SwiftUI app I am developing has two ways of importing the audio files it plays: users can open a UIDocumentPickerViewController and select an audio f

Pull to refresh in UICollectionView in ViewController

I used the following code at a UICollectionViewController override func viewDidLoad() { self.collectionView!.alwaysBounceVertical = true l