Questions tagged as 'ios'

0
answers

I reject app in IOS [closed]

A few days ago I uploaded an application for approval to the Apple Developer Console and they rejected it for the following (original text in English):    Guideline 4.2.2 - Design       Thank you for your resubmission.       We noticed that...
asked by 05.05.2017 / 14:14
2
answers

How to Mark or Uncheck CheckBox?

I need help with a custom checkbox. To make them I put two buttons and create two classes, one for each checkbox that gives them their form which I take from this same site, I leave the class with which I give shape to the button import UIK...
asked by 01.08.2016 / 00:33
1
answer

Create a framework in Swift for Device / Ios Simulator

Good afternoon, I have managed to generate a small example framework in swift but it only lets me run it if I deploy it in a Device, I have read that if you generate the framework with the selected simulator you could then execute that framework...
asked by 21.03.2016 / 17:55
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 / 21:59
2
answers

enable or unhide a button in swift 3

I have several buttons inside a view controller, but there is one of them that I want to be disabled if in a textfield there is no written value. If any value is written, it must be re-enabled. import UIKit class AreaOfAnIsoscelesTr...
asked by 02.08.2017 / 01:16
2
answers

Connect menu of 5 buttons to a view, with a single segue

How to use a single segue (1 segue for 5 buttons) instead of 5 segues (1 per button) leaving only one, which contains all the IBAaction and takes you to the other view depending on what you press, the content in the other view is presented in on...
asked by 11.08.2017 / 23:50
1
answer

Audio html5 tag does not play on iOS

I have a webpage that loads audio content with the <audio> tag Audio plays on Android and Windows without problem but in iOS 10.3.3 it can not be played <audio controls="true"> <source src="http://192.168.1.25:8080/" prel...
asked by 16.12.2018 / 14:34
1
answer

Dictionary or Tuple? How to access a key inside another key in Swift?

I have a web service in which, with the Alamo library, I collect some data. I have the result in a variable such as: response.result.value Within this variable I want to access a second level key. The result is returned as: response.result....
asked by 02.08.2017 / 17:41
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

Format Date yyyy-MM-dd HH: mm: ss at 12 o'clock

I have this format and obviously when I turn on the clock at 12 o'clock, it returns a null , if I put it at 24h, I format the date well. How can I solve this? ! Update: For 12h I try this let dateFormatter1 = DateFormatter() d...
asked by 30.03.2017 / 13:02