Questions tagged as 'ios'

1
answer

Compile .h depending on the target that is running

I have two .h in my project with the same auto-generated name. Does anyone know how to compile one or the other depending on the target that is executed? It is imperative not to change the name of .h     
asked by 01.03.2016 / 14:43
2
answers

UILocalNotification does not add me correctly applicationIconBadgeNumber in day change

I do not quite understand how the increase in the Badge of the ios works. With the code that I put next I get the correct notification, but when I spend a day instead of putting, for example from 0 to 1, it happens to 2 ... I do not unders...
asked by 29.02.2016 / 16:41
1
answer

Push notification certificates

I have a question, I have an app that loads the app store without first having generated the certificate and all the steps to work with remote notifications, now it generates the steps for notifications but it does not work, notifications are se...
asked by 30.03.2017 / 19:03
0
answers

Xamarin UITest iOS: Unable to contact test backend running in app. A common cause is that the app is not properly linked with Calabash

I have a problem when running UITests for iOS applications with Xamarin. I clarify that Android apps run perfectly. I work with a Cross-Platform project, giving the appropriate configuration in AppInitializer.cs When executing the t...
asked by 02.12.2016 / 12:36
3
answers

How to obtain the model of a UITableViewCell

I would like to know if someone has a way to get the value of a class UITableViewCell . class EncuestaRespuestaC: UITableViewCell { @IBOutlet weak var lblDescription: UILabel! @IBOutlet weak var ivStart01: UIButton! @IBOutlet...
asked by 13.07.2017 / 02:37
2
answers

I do not see the xcode simulators

hi, a few days ago download the xcode 8.0, and had all the simulators at my fingertips until iphone 7 plus, but as where I have an older version of xcode I was forced to download the version 7.3.1 of internet , therefore keep both xcode, b...
asked by 31.10.2016 / 20:24
1
answer

Update graph when the value changes

I have created 3 UIView , each one is a graphic that I used from the PNChart library. I show them correctly all OK. The problem comes when I want to update the value. That is, if initially the graph was in 60% and I update...
asked by 19.01.2016 / 19:22
2
answers

I can not put the button as setEnable: NO

I have an interface with a button that shows an image when it is active and another when it is deactivated. When I start the view, the button always appears as activated, although in the viewDidLoad I do a [self.button setEnabled: NO] If a...
asked by 05.01.2017 / 14:55
2
answers

Scroll when the keyboard appears

I have a question about how to handle when the keyboard comes out in an iOS application. It turns out that in Spotify on the iPhone when you are going to register, you select a field and exit the keyboard. The registration button is covered....
asked by 31.05.2017 / 16:29
2
answers

Do not finish the main thread until you finish another task launched in the background

I have a method with a completion that collects a data in the background. How do I use this data in the main thread before it finishes its execution? That is, the main thread launches a method in the background and must wait to collect a data...
asked by 03.05.2017 / 12:57