Questions tagged as 'swift4'

1
answer

Create SWIFT pause menu

I am creating an iPhone app using swift 4 and I would like to add a pause menu but I do not know what commands I should use to make everything stop. I have some timers with which I increase the score and create random elements, I had thought I c...
asked by 06.05.2018 / 13:39
1
answer

How to pair a string to jsonObject Xcode (Swift)

let request = NSMutableURLRequest(url: NSURL(string: "https://blablabla.php")! as URL) request.httpMethod = "POST" request.httpBody = "Accion=SincronizarProducto".data(using: String.Encoding.utf8) let task = URLSession.shared.dataTas...
asked by 29.04.2018 / 21:35
1
answer

Sudden closure of the app, if it is with xcode does not close. It happens when changing the type of keyboard from iphone

I have developed an app for IOS with swift , until here everything is correct, I made debug tests with xcode and no problem. But a user of the app has contacted me because when he goes to a screen that is a form, and clicks on a te...
asked by 29.03.2018 / 13:52
0
answers

Apple rejects my app - IPv6 wifi error on ipad

I have uploaded an app to the apple store, but apple has rejected it. It tells me the following:    Thanks for your new presentation.       We discovered one or more errors in your application when we reviewed in the   iPad with iOS 11.2.6 o...
asked by 24.02.2018 / 10:44
1
answer

Convert a String to Array [Int] and vice versa

Help me please!    STRING to ARRAY [Int] input: var str = "4869" output: var num:[Int] = [4,8,6,9]    ARRAY [Int] to STRING input: var num2:[Int] = [5,8,9,6] output: var str2 = "58...
asked by 13.05.2018 / 21:54
2
answers

How to pass a string to several view controllers?

I want to pass information obtained from a textfield to several view controllers, is it possible? how? thanks     
asked by 02.05.2018 / 01:07