Questions tagged as 'swift2'

2
answers

Swift How to get out of the application

Basically that, how can I close the application since I can not find almost any information about it and I would like to add that function to a button in the navigation controller so that the user leaves the application whenever they want, I hav...
asked by 13.08.2016 / 14:36
1
answer

Upload files to a server from IOS app with swift

I'm making an app with which you can upload images to a server (It's in PHP 5.2 ). Firstly, to upload the image, I did it at the moment when the button was clicked to go up from the app and it showed a alertview with a load bar,...
asked by 24.08.2016 / 10:51
2
answers

Center Map on iOS in Swift

Hi, I'm doing a tourism application in which there are several cabins, places to eat and visit in this case, each one has a button that goes to a single map in which there are markers to show the location, and I need the center of the map load d...
asked by 22.08.2016 / 17:51
1
answer

Share link + text + image in whatsapp from swift

I'm doing an app, which is an RSS reader. What I want is that you can share a story by whatsapp, and that the data you share are: An image A title A link At the moment I have this: let urlString = "Hello Friends, Sharing some dat...
asked by 04.07.2016 / 08:45
1
answer

Swift mark or uncheck checkbox

I have two buttons modified to work as a checkbox by a subclass ( @IBOutlet siCheckbox and noCheckbox ) if I set a checkbox the other is automatically unmarked the problem is that to say if I press "yes" once uncheck t...
asked by 08.08.2016 / 14:52
1
answer

NSLayoutConstraint Unable to simultaneously satisfy constraints

I'm trying to customize my own'UilollectionViewCell' and doing so using constraints gives me the following error: 2016-05-28 17:33:44.843 CollectionView[11392:2736021] Unable to simultaneously satisfy constraints. Probably at least one of...
asked by 28.05.2016 / 22:39
1
answer

You can create an AccountManager in IOS and Swift 2

In android you can create application accounts in the phone to save session data when a user is authenticated or logged into our example app: AccountManager. Can this be done on iOS? Or is there something similar?     
asked by 02.06.2016 / 01:58
0
answers

Create account on the device

Good afternoon I am creating an app in swift 2 and I need to create a session start account on the device to store some data, someone could guide me in creating a class called ACAccountStore but I really have no idea how is used and searched in...
asked by 07.06.2016 / 18:37
1
answer

Place name on image

Good afternoon in my app I take a photo with the camera and then I keep it in the camera's photo album, but it saves it with a name by default I would like to know how to put the name I want to the photo, The code that I have when I save the ima...
asked by 08.06.2016 / 00:23
1
answer

Scroll for SpriteKit

I'm making a game with Swift, and I have a giant image in a SKSpriteNode that is the map (similar to the image I attached) and each point is a SKSpriteNode child, I'm doing the scroll in this way in the touchesMoved function...
asked by 29.04.2016 / 00:31