Questions tagged as 'swift'

1
answer

How to pass a CPF as a parameter of type NSDictionary for a call with JSON and POST?

Hello, I have a question. I need to pass a user-entered CPF as a parameter in my POST call to return with his data. The call works with an already registered CPF, but only works if the CPF is passed directly as a parameter, as I did below and ty...
asked by 11.11.2015 / 03:44
1
answer

Interrupt a chain of actions in SWIFT

I am developing a simple application with two screens, authentication uama and another for a second process, this application is for IOS using the SWIFT language. When using the Storebord to set the screen sequences I came across the situatio...
asked by 18.09.2015 / 22:44
1
answer

Access global var

I have the following problem: I have the following code var myGlobal : String func nomeDaFuncao () { // Preciso acessar a global myGlobal = "fff" } How can I access the global within a function or an action? Thanks     
asked by 05.10.2015 / 19:44
2
answers

Xcode does not find button

I created a button on storyboard to connect to a viewController . Clicking the button causes the error:    thread 1: signal SIGARBT What could be causing such an error? I've seen many tutorials and nothing.     
asked by 14.07.2015 / 13:15
2
answers

viewDidAppear equivalent in apple watch

I need to present a small animation (a sequence of images) when my App starts. The willActivate method does not help me, because it is still not showing anything. Is there a notification or something to make sure you're already showing th...
asked by 15.06.2015 / 14:18
1
answer

Invoke touchInside method via SWIFT programming

Good evening guys, my doubt can be simple for many more I'm having a bit of trouble solving the same. Come on! I created a button (UIButton) and would like to know how I invoke an action when it is clicked via programming. I thank you for...
asked by 03.09.2015 / 04:19
1
answer

Remove menu navigation controller

As I remove this gray menu from my webview I think it's something related to navigation controller n I'm sure     
asked by 31.10.2018 / 02:09
1
answer

By clicking the tab item the application closes

I'm making an application that has a tab, the first tab I put a webview, the second a map, when I enter the app and click on the map item, the app closes, the error happens after I refer to the map ViewController log: 2018-09-11 17: 21: 54.84...
asked by 11.09.2018 / 22:25
1
answer

ImageView with sizes for all screens

I'm developing an application for iOS using Swift 4. What I've broken the head is in relation to the sizes of the screens. I see that Auto Layout helps in some cases, among them, layout of elements in Portrait and Landscape. But I have a p...
asked by 19.09.2018 / 05:38
1
answer

How to change the iphone type in the storyboard view?

Next image, what happens is the following, below where device appears, there are some types of tablets and smartphones, but not all types, I need to change to Iphone 7, like do that?     
asked by 13.08.2018 / 22:19