Questions tagged as 'ios'

4
answers

Inquiry about emulating on Iphone 6s [closed]

I have an iphone 6s and I am developing an app in Android Studio. I wanted to know if there is any way to emulate the android application on the iphone with a virtualBox or something like that. Thanks.     
asked by 13.04.2016 / 17:54
1
answer

Initialize array

I have a question and I do not know how to resolve it. I have this array created: var data: [(x: Double, y: Double)] Trying to use it tells me it is not initialized. You can tell me how to initialize it, I can not do it. Thanks for...
asked by 18.09.2018 / 09:02
1
answer

Error wanting to show an NSNumber value as Integer in a string

I have the following and it throws me an incompatible error integer to pointer ... int *v = [numero intValue]; NSLog(@"Numero %d",v); Where number is a NSNumber . How would you do to print a int ? And a NSInteger ?     
asked by 12.12.2016 / 13:53
1
answer

Very large compiled file

I have a fairly simple app developed in swift. When I generate the file to upload itunesconnect it generates a file of 104MB. Other app in ObjC climbs occupied about 4 or 5 MB. To generate the file I first make a Product-> Clean and then a Produ...
asked by 20.04.2016 / 20:58
1
answer

How to know the status of an UIButton from another view?

I have a view where the status of a UIButton is changed from true to false several times in several code parts. In another view I have to implement a method that according to the UIButton state of this other view does one thing or another. Is it...
asked by 09.07.2018 / 20:03
3
answers

how to randomize an array of strings?

I have an array and I want to randomize this array so that every time I start the app the elements are in a different position, how can I do this? I have found different extensions on the internet, and some work, but when doing it random, they r...
asked by 23.08.2018 / 05:19
2
answers

swift UITableView is it possible to set the header of the table and the header of the sections?

I have a table with a header and several sections (each with a header) and I would need both the header of the table and the header of the sections to be fixed ... is that possible using a UITableView? Then I leave the code of my table: fu...
asked by 19.04.2018 / 20:51
2
answers

Error running app for IOS in xcode 9

How can I resolve this type of error, when running an app for IOS in xcode 9.     
asked by 19.02.2018 / 20:23
2
answers

viewDidAppear does not update the views to the actual measurements according to the device

The first time I install a viewController, the measurements of its storyboard views update me to the real ones of the device. So if I make a self.view.frame.width inside viewDidAppear it gives me the value of that measure adapted according to...
asked by 06.03.2018 / 22:15
1
answer

Table View with height of different cells and adjustable to their contents

I'm trying to make a view that contains a TableView with different cells of different heights that fit their content. But I do not find any example that works well. What I do is implement a tableView with a cell prototype to whi...
asked by 22.09.2017 / 11:11