Data dodania Pytanie
2017-02-09 13:02 Swift calendar components »
First of all I don't know swift.Basically I'm an android developer and I have some knowledge in objective c. Now we don't have any swift developers. B...
(0) odpowiedzi
2017-02-08 11:02 How to banner notification when application foreground swift 2 with iOS 9 »
It's working fine when application stay in background (remote notification). Problem is when I chatting with my one friend . New messages from other c...
(0) odpowiedzi
2017-02-07 15:02 Prevent swipe in horizontal UICollectionView to swipe in UIPageViewController »
iOS 9+ application using Swift 2.2. I'm using a UIPageViewController having some horizontal UICollectionViews in each page. When scrolling horizontal...
(0) odpowiedzi
2017-02-07 10:02 How to programmatically go to a UITableViewController from UIViewController »
can i know how to programmatically go to a UITableViewController from UIViewController let mainStoryboard : UIStoryboard = UIStoryboard(name: "Main",...
(1) odpowiedzi
2017-02-06 16:02 'init' is a member of the type; use 'type(of: ...)' to initialize a new object »
I had this code in Swift 2, now it has error in Swift 3: The error is : 'init' is a member of the type; use 'type(of: ...)' to initialize a ne...
(1) odpowiedzi
2017-02-06 15:02 One Signal push notification launch URL error »
I am using one signal in my project. Their docs say OneSignal.initWithLaunchOptions(launchOptions, appId: "5eb5a37e-b458-11e3-ac11-000c2940e62c"...
(0) odpowiedzi
2017-02-06 05:02 Using two GoogleService-Info.plist of previous old Google Analytic and new Firebase Cloud Message »
I am trying to add Firebase Cloud Messaging to my app. Unfortunately, there is an analytic version of old Google included in it. So, is there anyway t...
(0) odpowiedzi
2017-02-05 19:02 Convert String to NSDate swift 2 »
I am new to swift 2 and im trying to convert the following codes to my preferred format. example: dd-mm-yyyy hh:mm:ss -> (01-12-2012 20:10:59) Howev...
(0) odpowiedzi
2017-02-05 05:02 DJI SDK "Home point not recorded yet." error Code: -5010 »
Hey ya'll so Im trying to start a DJIWaypointMission and am getting an error when I call "startMissionExecutionWithCompletion" I've apparently success...
(0) odpowiedzi
2017-02-04 18:02 Swift 2.3 ViewController dismissViewControllerAnimated jumps to root of the navigation »
Is the dismissViewControllerAnimated behaviour customisable? I have the following setup: uiwindow.root = uinavigationcontroller uinavigationcontro...
(0) odpowiedzi
2017-02-04 10:02 UICollectionView cellForItem called not correctly »
Xcode 8.2.1 after migrate Swift 2.2 to Swift 3 UICollectionView's cellForItem not called correctly but before migration was working fine I have Coll...
(1) odpowiedzi
2017-02-04 02:02 wkwebview resize after window change notification »
In swift, I have a audio/video url loaded but the view doesn't resize, IF, the url is to a local file; web URLs are fine. I'd like to scale/grow/etc ...
(0) odpowiedzi
2017-02-03 23:02 Unable to change pin color using map kit view »
Using the example below VC1 -> VC2 -> VC3 I am trying to pop VC3 programmatically using self.navigationController!.popViewControllerAnimated(false)...
(0) odpowiedzi
2017-02-03 12:02 iOS App Rejected due to IPv6 network connection issue »
Application have only single Webview. Swift 2.3 Webview URL ::: http://91.143.214.174:6999/Account/Login?ReturnUrl=%2f Using Reachability classes...
(0) odpowiedzi
2017-02-02 16:02 Using loops to store multiple json object into arrays »
I have done a webservice to retrieve JSON of data which is as follows: (this is stored in a variable data) {"0":{"categoryId":"1","category":"Resta...
(2) odpowiedzi
2017-02-02 16:02 continueTrackingWithTouch not working when subclassing from UIButton »
everyone knows that when you drag outside a button it don't cancel the highlight state right away by UIButton's default. UIControlEventTouchDragExit t...
(1) odpowiedzi
2017-02-02 10:02 how to parse the error from web request »
here is my code api response for error: guard (error == nil) else { print("There was an error with your request: \(error)") return } re...
(2) odpowiedzi
2017-02-01 09:02 How to print out the method name and line number in swift »
Here is an example of what I want to do: func application(application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSErr...
(3) odpowiedzi
2017-01-31 08:01 Ambiguous reference to member Swift 3 »
I am migrating my project from Swift 2.3 to Swift 3. And having difficulty as expected. Here is a function which is being used for OAuth, using OAut...
(1) odpowiedzi
2017-01-31 05:01 Not getting callbacks of delegate methods in NSObject class ios swift »
-- Usage of class is mentioned in top of class file as a commented code. -- This class is used to find user's location and after that from location c...
(1) odpowiedzi
2017-01-31 02:01 How to present view controller embedded in navigation controller modally? »
Say I have these view controllers: Navigation Controller -> vc1 -> vc2 -> vc3 I want vc3 to show modally (appear form the bottom), so I selected the ...
(1) odpowiedzi
2017-01-30 18:01 How to keep location service request alert box stays appear »
I'm having strange problem with UITableViewController. I'm requesting location service authroization inside viewDidLoad method, and I could see alertb...
(1) odpowiedzi
2017-01-30 10:01 Disabling UITextView Keyboard input but enable user interaction swift 2 »
Hi I am new to swift and I have implemented a picker view that alter the text in my UITextField. However the keyboard cursor will still show up, is t...
(2) odpowiedzi
2017-01-30 07:01 UIDocumentPickerViewController not picking document data from Google Drive anymore in ios »
I'm trying to import data from Google Drive ios app(v. 4.2017.01205) into my app using UIDocumentPickerViewController, but it always return nil. I'm ...
(0) odpowiedzi
2017-01-29 17:01 iOS MPMediaQuery.artistsQuery() doesn't return every artist if compilation is checked »
I have been writing a music app using Swift 2.3. The trouble that I've found is that my a MPMediaQuery.artistsQuery() doesn't provide all of the arti...
(0) odpowiedzi
2017-01-29 12:01 How to detect tap on UITextField for Swift 2? »
Is there an documentation or example on how do I do it in Swift 2? I have read many articles but it doesn't provide much details beside jumping into...
(2) odpowiedzi
2017-01-29 03:01 Add Observer and Selector in Swift 3 »
I am really struggling to understand the new syntax for observers. Can you help me translate this to Swift 3. nc.addObserver(self, selector: #select...
(2) odpowiedzi
2017-01-28 20:01 How can I use Swift to detect if a playlist is currently playing? »
I am writing a music app (still using Swift 2.3), but can not figure out how to detect whether or not a playlist is currently playing. I would like o...
(0) odpowiedzi
2017-01-27 12:01 IOS remote push notification not working IOS9 where it is full working IOS10 »
IOS remote push notification (testflight?) not working IOS9 where it is full working IOS10. What can I do? Note: also I am testing by apn tester bot...
(0) odpowiedzi
2017-01-27 06:01 Use PropertyListSerialization to Make a Dictionary in swift 2 »
I am trying to make a dictionary with PropertyListSerialization in swift 2. But it constantly gives this error: "can not convert value of type 'Int'...
(2) odpowiedzi
2017-01-27 05:01 not receiving json Data in Alamofire request with http body »
Im using the following code to send a POST request to the web server with an http parameter, in order to receive the JSON Data Alamofire.request(.POS...
(1) odpowiedzi
2017-01-26 23:01 Removing a Entities GKComponent from a Scene »
I am using GamePlay kits Entity - Component system for a 2d game. Each entity has a sersis of GKComponents - spriteComponent, physicComponent, etc and...
(1) odpowiedzi
2017-01-26 19:01 Can't get UITableViewAutomaticDimension to work properly »
I have a fairly standard UITableView that populates via custom cell. That cell is simply an image and a label at the moment. I cannot, for the life of...
(2) odpowiedzi
2017-01-26 05:01 I just want to use old password and new password without sending reset link to email in app to change password by using firebase in swift2 »
In android, I use reauthenticate but in swift, which way can I use? For example, in android like this Firebase.getCurrentUser().reauthenticate(EmailA...
(1) odpowiedzi
2017-01-25 12:01 Push gradient layer to background swift »
My app has a gradient layer that I made in code. However when I display this onscreen it covers all the other components and hides my buttons, labels ...
(3) odpowiedzi