Category "iphone"

Dismiss button in SwiftUI modal called from UIKit

I have got a SwiftUI modal view which I am calling from main UIKit view. I want to add a dismiss button to my modal view. As I can tell, there is no @State vari

Setting Autolayout Constraints on UIButton in Swift

I'm still trying to get my head around Swift Autolayouts here in XCode 6.3. I have set up a View Controller that I stuck a couple of labels on in Interface Buil

iphone web develop mode (inspect element) on windows safari

I found two ways how i can easier develop web app for iPhone. http://moduscreate.com/enable-remote-web-inspector-in-ios-6/ http://webdesign.tutsplus.com/tutor

Regex multiline matching

I was wondering if it's possible to make a regular expression to find all of the text that is in between the following two strings: mutablePath = CGPathCreateM

it possible to Pass Data with popViewControllerAnimated?

I came across an interesting problem, i have main ViewController let's call him MainVC with navigationController and i am doing performSegueWithIdentifier from

The app delegate must implement the window property if it wants to use a main storyboard file swift

I have just developed an app, but when running in the simulator the debugger console says: The app delegate must implement the window property if it wants t

How to detect when AVPlayer video ends playing?

I'am using AVPlayer for playing local video file (mp4) in Swift. Does anyone know how to detect when video finish with playing? Thanks

UIImagePicker allowsEditing stuck in center

I have a UIImagePicker that works perfect for a type of UIImagePickerControllerSourceTypePhotoLibrary, but when I use UIImagePickerControllerSourceTypeCamera, t

Xcode Device Issue - Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode

Error and warnigs in devices and simulators Issue : Details Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode. Domain: co

Integrated Form Doesn't Move When Text Fields Are Selected

I have embedded a ScrollView within a UIViewController which contains multiple text fields that will act as a simple form to collect user data (Name, email, etc

Integrated Form Doesn't Move When Text Fields Are Selected

I have embedded a ScrollView within a UIViewController which contains multiple text fields that will act as a simple form to collect user data (Name, email, etc

[UILabel copyWithZone:]: unrecognized selector sent to instance

I feel like I'm banging my head against the wall here (and I'm ready to do that, frankly). I'm trying to set a background to the view. Background I need to se

Kalman filtering algorithm for indoor positioning system [closed]

I am using a BLE (Bluetooth Low Energy) for indoor positioning system by its RSSI and trilateration algorithm. The problem is how to find an

How to change keyboard background color in iOS?

I would like to know how to change the keyboard background color programmatically in iOS? The background is normally grey but I have already seen black backgrou

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

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

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

iOS - Record the Voice while phone call in Objective c

Is it possible for an app which records the voice of the user while a phone call? I searched for it and the AVFoundation Framework seems to stop recording whe

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

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