Questions tagged as 'xcode'

1
answer

Change the background color of the "header" of a UITableView

I have the following table @IBOutlet weak var menuTableView: UITableView! Which I complete with the following code override func viewWillAppear(_ animated: Bool) { menuTableView.reloadData() } // MARK: - Table view data source func n...
asked by 18.04.2018 / 15:27
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 12.04.2017 / 00: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 / 16:53
1
answer

uitableviewcontroler with titleForHeaderInsection

Hello my problem is the following I have several cells created, with their respective titles each, but when I try to add more iten to each cell I get error, or does not present the value in the cell this is an example of the app The questi...
asked by 25.07.2017 / 16:25
1
answer

Error doing 'Build and Run the scheme' in xcode

I'm having problems doing 'Build and Run the scheme' in xcode to pass the project to an iPhone 4s device and test what I'm developing, from one day to the next it has stopped working and I have not touched anything on the project configuration...
asked by 01.12.2016 / 17:07
1
answer

Could not insert new outlet connection

I am learning how to program in ios and I'm following some manuals . I'm trying to connect a label put in storyboard with the code, for that I open the AssistantEditor and with the secondary mouse I drag to the area of the code...
asked by 27.10.2016 / 12:42
2
answers

I can not load my app on the iPhone

I do not know what has happened but I throw the following error, I tried everything, but from one moment to the next it became confused and it does not work for me to send my app to the iPhone: ( Now it tells me the following: A...
asked by 25.05.2016 / 23:16
2
answers

Open Url with UIImage

Use an image to open url, some do not have your url and I want you to show a message that you do not have it but I do not know how to do it     
asked by 16.08.2016 / 20:22
1
answer

How to return to the previous uinavigationcontroller

I would like to know if there is a way to go back to the previous UINavigationController so that I do not have to re-instantiate it, this is because I want to pass a variable to the previous view controller and then go to it without nee...
asked by 14.03.2016 / 11:23
1
answer

Array of the AnyObject type to a Json array using swift

I am new to the development of applications for IOS and I am using swift, I need to generate a Json array like this: { "PaymentItems": [ { "id": "1", "paid": false }, { "id": "2", "paid": false },...
asked by 08.06.2016 / 06:20