Questions tagged as 'swift'

2
answers

Error with ImagePicker in swift 3

I'm trying to get an image of the camera or the library. I can take the image, the problem is that it does not save it. I have set print test but I also do not get the delegated function to save the image. var imagePicker = UIImagePi...
asked by 04.10.2016 / 13:30
2
answers

Transition between UITableViews overlays information from both views

I'm working with UITableView s embedded in a NavController . It happens that when I make the transition from one view to another gives the impression that merges the information of both views for a few milliseconds. I leave a vid...
asked by 14.08.2016 / 06:52
1
answer

How to go from a C view to an A view with the navigation back button

I have a navigation controller in the storyboard and I noticed that this has the option to add a navigation bar and has a button to go to the previous view (back) according to the order, it is possible that when pressed it can take to another vi...
asked by 09.08.2016 / 09:37
1
answer

Deselect cell in UitableView

I want to cancel which cell was selected. When clicking on the selected cell, it sends the idCategoria to the next view, but when you return it, the cell is still selected and when you want to click on another category it shows those of the prev...
asked by 10.08.2016 / 05:37
2
answers

Error constraints swift 2 with SnapKit

I'm using SnapKit to add constraints to an image I have in UIViewController I have this code: imagenPrincipal.contentMode = .ScaleToFill let URL = NSURL(string: oferta!.imagen)! let placeholderImage = UIImage(named: "placehold...
asked by 07.07.2016 / 13:17
1
answer

SKPaymentQueue.defaultQueue (). addPayment (pay as SKPayment) gives EXC_BAD_ACCESS error

I'm doing a game with SpriteKit and I work with SKScene for different scenes within the game. I made a class to make purchases in-App works well with a button, but gives errors with others, I explain: On the cover ther...
asked by 06.07.2016 / 22:27
1
answer

Confused with NSURLSession delegate

class ImageTrack { var session: NSURLSession? var delegate: NSURLSessionDelegate? var task: NSURLSessionDownloadTask? func update() { let config = NSURLSessionConfiguration.defaultSessionConfiguration() session...
asked by 22.06.2016 / 01:52
0
answers

Get token for push notifications error

With the same application with xcode 8 and ios 10 on an iPhone 5 and on an iPhone 6 it returns token, however, when I try with the iphone 6s it does not return token and it is allowed notifications, etc ... I do not know if someone else has e...
asked by 22.09.2016 / 11:30
1
answer

Error NSMutableURLRequest swift

I have this code: let urlString = "https://roads.googleapis.com/v1/snapToRoads?path=" let url = URL(string: urlString) print(url)// Escribe=> nil let request = NSMutableURLRequest(url:url)//Aqui da error the error it gives is: fatal e...
asked by 20.10.2016 / 13:36
1
answer

Help error with the pods when running the xcode simulator on MAC

When I run my application in xcode, I get the following error: dyld: Library not loaded: @rpath/Toast_Swift.framework/Toast_Swift Referenced from: /Users/alberto/Library/Developer/CoreSimulator/Devices/40EB2EEE-A6DC-4E26-BDDF-D7AE7A5A6BEE/da...
asked by 20.07.2016 / 13:11