Data dodania Pytanie
2017-08-09 14:08 How to make ViewController load itself from nib on viewDidLoad() properly? »
So I have a nib file for my CustomViewController and every time I want to present this Controller I do let vc = CustomViewController(nibName: "Cu...
(2) odpowiedzi
2017-08-09 10:08 Segmentation fault error on migration from SWIFT 2 to SWIFT 3 »
Thoroughly searched for this question but was not able to find it in Stack Overflow. Getting segmentation fault error: 1. While type-checking gett...
(0) odpowiedzi
2017-08-09 07:08 How does iOS decide which text field to focus next when you press Tab key on the simulator? »
I have a bunch of text fields in a registration form that are organized in two vertical stack views in a XIB file. I noticed that when running the ap...
(1) odpowiedzi
2017-08-09 07:08 VersionNumber and VersionString in umbrella header »
I am adding a new framework to a Swift + Objective-C project. So, into my framework, I have an umbrella header: xFramework.h #import <UIKit/UIKit....
(0) odpowiedzi
2017-08-09 05:08 Avoid image blinking when back button is hit »
I'm developing a web interface with an Instagram-like navigation. This means that I have a grid of pictures and when I click on one of these I go to a...
(2) odpowiedzi
2017-08-08 18:08 CoreData - fetch objects by relationship in a batch for better performance »
Introduction Whenever possible, I'm trying to use find-or-create pattern in core data. When I'm doing this for a set of items that are identifiable b...
(1) odpowiedzi
2017-08-08 15:08 password autofill quicktype bar in ios 11 »
In ios 11 a new feature is introduced: Password Autofill for app. This feature allows users to use their saved password in their apps directly from th...
(2) odpowiedzi
2017-08-08 06:08 iOS detect Airplay during app launch »
We are building an iOS app where users can watch videos under a subscription model. We don't want users to Airplay the videos to any other device. T...
(1) odpowiedzi
2017-08-07 12:08 Negative spacer for UIBarButtonItem in navigation bar on iOS 11 »
In iOS 10 and below, there was a way to add a negative spacer to the buttons array in the navigation bar, like so: UIBarButtonItem *negativeSpacer = ...
(0) odpowiedzi
2017-08-07 11:08 Should change the values if zero is present while moving to other viewController »
I have to enter a phone number in UITextfield when I press the nextButton,that number should appear in the next view controller in UILabel .But the pr...
(2) odpowiedzi
2017-08-07 11:08 How to open Location Services from iOS application for iOS 11 beta? »
if (([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0) { NSURL *URL = [NSURL URLWithString:@"App-prefs:root=Privacy&path=LOCA...
(2) odpowiedzi
2017-08-06 20:08 How to place the UIImageView at the half of another view in Storyboard »
I want to place an UIImageView at the half of an another UIView. I have set the constraints like this: I need the square image view to be at the ha...
(3) odpowiedzi
2017-08-06 15:08 CAShapeLayer. Does the line pass through the point? »
I use CAShapeLayer in order to draw a line on the screen. In the method touchesEnded I want to check " Does the line pass through the point?". In my c...
(1) odpowiedzi
2017-08-06 13:08 Binding UDP Socket to Cellular IP »
I am trying to create an iOS client that sends data to a server on a UDP socket over the device's cellular communication. Following Does IOS support ...
(1) odpowiedzi
2017-08-06 11:08 loading uitableviewcell with animation transition using swift 2 »
loading uitableviewcell with animation transition using swift 2 How to create animation for tableview cell when view is load ?? thanks in advance ...
(1) odpowiedzi
2017-08-06 10:08 NSInvalidArgumentException, reason: '-[NSNull isEqualToString:] »
I am receiving a push notification and trying to parse the dictionary as follows but I am getting the following exception. *** Terminating app due...
(1) odpowiedzi
2017-08-06 09:08 Two files with same name »
I have two files in my project. One file is in a third-party Objective-C library and other is in my project. Here DSGHappiness is a third-party lib...
(0) odpowiedzi
2017-08-06 07:08 Voice Activity Detection from mic input on iOS »
I'm developing an iOS app that does voice based AI; i.e. it's meant to take voice input from the microphone, turn it into text, send it to an AI agent...
(1) odpowiedzi
2017-08-05 22:08 Migrating from `POPSpringAnimation` to native iOS framework in Swift 4 »
I am working on an old project and want to get rid of POP framework I am sure that any animation can be done with native iOS framework. Here is the o...
(0) odpowiedzi
2017-08-05 17:08 Delegate and Datasource in different classes possible? - UITableView »
While using UITableView there are two types of methods ie, datasource and delegates still both supposed to be connected to the same parent view contro...
(3) odpowiedzi
2017-08-05 10:08 Error watching file for changes: EMFILE {"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename": null}? »
Error watching file for changes: EMFILE {"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename": null}? "d...
(1) odpowiedzi
2017-08-05 08:08 UIButton .setImage() doesn't work in Swift 3 »
I am trying to add multiple buttons to an UIView subclass. In the init() method of the UIView subclass (called leftPanel), I added multiple calls to d...
(6) odpowiedzi
2017-08-05 05:08 Set Value via Custom Table Cell »
In the following custom table cell (StepperProgressTableViewCell), I have hardcoded currentSection to 2 for testing, but when it hits StepperProgressT...
(1) odpowiedzi
2017-08-05 05:08 Saving to Core Data "The left hand side for an ALL or ANY operator must be either an NSArray or an NSSet »
When I try to save a relationship to core data it throws the above error in the title. I'm basically creating a messaging app and data model is attach...
(1) odpowiedzi
2017-08-04 14:08 IOS last tableViewCell separator is missing »
I have tableView with multiple cells (without sections). I add non-empty tableFooterView to the tableView. After that the last cell separator is not s...
(1) odpowiedzi
2017-08-04 14:08 calculate accurate Ibeacon distance »
I'm at the beginning of developing an indoor navigation system with the help of Beacons in ios. We have 3 Bluecast beacons now and I am not getting a...
(1) odpowiedzi
2017-08-04 06:08 CustomTableCell Delegate »
I have a tableview called AdminOrderViewController and it has customcell called StepperProgressCell. This customcell has a custom UIView called AYSte...
(2) odpowiedzi
2017-08-03 12:08 Changing constraints »
I am creating an app with quite a lot of buttons. I have already placed all required buttons on the view and all constraints are set. Everything is do...
(4) odpowiedzi
2017-08-03 11:08 Check if variable is nil from UICollectionViewCell subclass »
I have got this UICollectionViewcell func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionVi...
(3) odpowiedzi
2017-08-03 08:08 How to make an array of string (String has json data) »
I Want to make a string like below contentlist=["{\"id\":\"id1\"}"] How can i achieve this ? I tried with NSString method stringWithFormat:@"conten...
(1) odpowiedzi
2017-08-02 23:08 iOS Contact app Interaction »
I'm trying to get a messaging app integrated with the iOS Contacts app, so that users can initiate messages via the app directly from Contacts. This w...
(0) odpowiedzi
2017-08-02 13:08 Open facebook page into facebook application Ios + ionic »
Goal :- Open facebook page url into facebook application I am using ionic version 1.6 I have tried <a ng-click="openFb()"> <img...
(1) odpowiedzi
2017-08-02 08:08 NSDate gave the wrong answer (Objective-C) »
I want transfer second to Hour and minute , and I don't care the Date. but the codes below gave me a wrong result. I passed "7879"second and it should...
(2) odpowiedzi
2017-08-02 00:08 Find ALL cocoa classes that are singleton? »
There are several system classes in Cocoa that are singletons, such as UIApplication, NSNotificationCenter. Now, I want to find all classes that are s...
(1) odpowiedzi
2017-08-01 23:08 Camera is not following the airplane in Scenekit »
I have a flying aircraft which I am following and I am also showing the path the aircraft has followed. I am drawing cylinders as a line for drawing t...
(1) odpowiedzi