Questions tagged as 'xcode'

1
answer

'The number of view controllers provided (2) does not match the number required (1) for the requested transition'

I'm using TabBarController and I get this error:    The number of view controllers provided (2) does not match the number required (1) for the requested transition When I leave the home screen and come back to it from this error. I...
asked by 04.11.2016 / 20:09
1
answer

How can I do in xCode the java code mentioned in the question?

This class on Android when enabled, I can close the app it keeps working and keep the cell screen lit like this Keep screen lit: PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); wl = pm.newWakeLock(PowerMana...
asked by 29.01.2016 / 17:22
1
answer

How to keep the user authenticated?

I'm using Alamofire to submit the authentication request like this: let user = "user" let password = "password" Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)") .authenticate(user: user, password: passw...
asked by 14.01.2016 / 13:57
1
answer

Does not xCode components appear in the simulator? [closed]

I'm having a problem with xCode on Swift . From time to time it does not want to appear in the simulator new components that I include in viewController . For example: If I put a simple button on the screen, when com...
asked by 22.09.2015 / 19:22
1
answer

Remove Core Data from a Xcode project

I started developing an application using Core Data in the course of project development and found that Core Data is not the best for the application. In this scenario, I would like to know how to remove Core Data completely f...
asked by 29.09.2015 / 14:24
1
answer

Custom Components

Is there any way to create custom components / screens with some components already loaded? For example, create a% custom%, with some default elements in it. But so that it can be added through UIViewController . Sample situation:...
asked by 15.10.2015 / 12:16
1
answer

TextView IOS Swift - Balloon Design

Hello everyone, I would like to know how do I do a textView of this in ios with swift? Thank you in advance for your attention.     
asked by 04.08.2015 / 04:50
1
answer

Refresh annotations

I need to update annotations on the map after inserting values in CoreData. I have the first view with the map, and a second where I add the new values to new annotations, but it is only when I enter the application for the first time that the a...
asked by 16.06.2015 / 13:38
1
answer

How do I configure files for many Targets?

How can I configure Xcode to perform the following task:  Use 1 Target as a template for other targets, and some file / class to be included or changed in this template, can be referenced in other targets already created. And each file / clas...
asked by 21.05.2015 / 04:09
1
answer

How to get nearby zip codes via Geolocation or GPS on IPhone?

I'm developing a delivery application, but I'm having trouble getting the auto-post through my location. Using the IOS CoreLocation library, I even get the zip code, but only the first 5 digits, and in some places NULL is returned Is th...
asked by 14.04.2015 / 14:34