Questions tagged as 'objective-c'

1
answer

Add values of an if and see the total result

I have a for that is in Objective-C (I do not have much idea of it) I have the app in Swift. I call the function and everything is perfect but it returns two values when I cut the if statement. 2016-01-20 21:54:46.742 Prueba[3306...
asked by 20.01.2016 / 20:59
1
answer

UITextfield how to make the keyboard never disappear from the screen?

I have a UITextField in an initial screen and I want the keyboard to appear up as soon as I start the view without having to click inside the UITextField box. When I press return I want you to do a check of the text typed with a string if it is...
asked by 11.04.2017 / 22:34
2
answers

uitableviewcell does not fit well on the ipad

I'm having problems in the iPad view, I'm trying to make a table where each cell will be made up of textLabel and a button UIButton , when I try it on an iphone the view goes well, but when I I try with an iPad it comes out in the f...
asked by 23.01.2017 / 15:53
1
answer

Font color in the columns of a UIPickerView

I do not know how to change the color of the elements within a UIPickerView . As you can see in the capture, the only thing I need is for all the texts to be blue, according to the rest of the application. Now the texts and numbers c...
asked by 09.03.2016 / 15:04
1
answer

Error in constraint with one view inside another

I have a login view with a label and a text box. In turn, this view is inside the main view of the view. When executing the application it does not show me the view with login and I get the following warning message: '[LayoutConstraints] Unab...
asked by 30.03.2017 / 16:00
1
answer

Create cron on iOS

I'm trying to make a cron that runs every X time on the iOS system to send some data to the server. I have read that there is no way to access a cron on a device that does not have a jailbreak. Researching a bit I found that the closest thing...
asked by 13.12.2016 / 16:29
2
answers

the tableView delegate functions do not run Swift4

hi friends I am new in the beautiful world of good programming without more: I am trying to fill a tableView through its delegate functions and it happens that of these functions only executes: public func tableView(_ tableView: UITableVie...
asked by 27.06.2018 / 01:44
0
answers

Problem migrating project from Xcode 8.3.3 to Xcode 9.3

My project does not have any compilation problems, but, when it comes to visualizing my storyboard in the emulators, it is seen with half the screen blank. On the contrary, when I run on a real device, it works for me. I have not change...
asked by 23.04.2018 / 10:11
1
answer

A UIButton can take the image of a UIImage Objective-C

This is my code. NSArray *sub = [self.view subviews]; if ([sub count] == 0) return; for (int i=0; i<sub.count; i++){ UIButton *boton = (UIButton *)sub[i]; //Convierto el boton a UIImage UIGraphicsBeginImageContextWithOptions...
asked by 19.05.2017 / 16:00
1
answer

Get name of the assigned image [closed]

How can I get the name of the image that is assigned a UIImageview or UIButton or UILabel     
asked by 17.05.2017 / 22:03