Data dodania Pytanie
2017-09-22 00:09 How to change the bottom edge color on the iPhone X programmatically? »
It changes on their native keyboard/emoji board, depending which of the two are open. I thought it would change the color automatically based on UIInp...
(1) odpowiedzi
2017-09-21 22:09 What is TIC Read Status 1:57 in iOS11/Xcode 9? »
After updating to Xcode 9, using Swift 3 and the iPhone X simulator, my console is full of: TIC Read Status [11:0x0]: 1:57 What is that and how do I...
(2) odpowiedzi
2017-09-21 15:09 Swift JSONDecode decoding arrays fails if single element decoding fails »
While using Swift4 and Codable protocols I got the following problem - it looks like there is no way to allow JSONDecoder to skip elements in an array...
(3) odpowiedzi
2017-09-21 15:09 IOS 11 GoogleMaps crash on device (iphone 5s) »
Xcode 8.3.2 iphone 5s ios 11 GoogleMaps 2.4 I getting error and crash in viewContoller @IBOutlet weak var mapView: GMSMapView! override func viewDi...
(2) odpowiedzi
2017-09-20 18:09 Move object while holding button in Swift »
I have a little Space Invaders game and I added two buttons leftButton and rightButton and I want the ship to move as long as one of the buttons is to...
(2) odpowiedzi
2017-09-20 12:09 TableView Auto Scrolling misbehaving after adding cells »
View Setup: My TableView has 3 sections with 4 or 9 cell each. Each Cell has a Label and TextField. On Starting to edit a cell at index 2 of each sec...
(2) odpowiedzi
2017-09-20 11:09 UISearchBar increases navigation bar height in iOS 11 »
I have my UISearchBar being part of the navigation bar like: let searchBar = UISearchBar() //some more configuration to the search bar ..... navi...
(3) odpowiedzi
2017-09-19 21:09 Whats the advantage of doing optional binding over sequential binding in Swift? »
In the short tutorial here, in step 5 a delegate is assigned: if let nav = segue.destination as? UINavigationController, let classBVC = nav.topVie...
(3) odpowiedzi
2017-09-19 14:09 Presenting multiple WKInterfaceController(in page base navigation) cause extra black space on top in watchOS4. »
The application was running well before watchOS4 but in watchOS4 there is extra black space is visible on top of WKInterfaceController. This case happ...
(0) odpowiedzi
2017-09-19 13:09 iOS 11 calculate safe area size »
I calculate itemSize dependent on safe area for UICollectionView with horizontal scroll and custom layout. But for iPhone X safe area has different...
(1) odpowiedzi
2017-09-19 08:09 Xcode 9 - failed to emit precompiled header »
I have a project in Objective-C as well as in swift by taking MyProjectName-Bridging-Header.h and i also configured the Objective-C Bridging Header. ...
(2) odpowiedzi
2017-09-18 21:09 How can I save the raw video data from a Go Pro? »
I've signed up to the Go Pro Developer program and set up the camera so that I can receive raw data. Ultimately I want to serve this data in a live st...
(0) odpowiedzi
2017-09-18 18:09 in swift, local variables in closure »
I'm studying Swift closures but I have some questions about closure capture lists. I know that closures are a reference type. I know the meaning of r...
(0) odpowiedzi
2017-09-18 11:09 Converting local Realms to synced Realms: 'customSchema' is inaccessible »
I read about the Converting Local Realms to Synced Realms section in docs and I found this nice recipe for Objective-C but I can't implement it on an ...
(2) odpowiedzi
2017-09-17 23:09 Subclass object not showing parent class variable in swift »
I am facing this weird problem and not sure why. I have a class View which has a delegate variable of a protocol: class View: UIView { weak var d...
(1) odpowiedzi
2017-09-17 20:09 Sending a message using SiriKit »
I already have a messaging app, and I would like to implement Siri to send a message. I have added the Intents extension and everything, I am just hav...
(0) odpowiedzi
2017-09-17 14:09 Time-related calculations »
I am writing an app using Swift 4. This apps first gets the current device time and puts it in a label (currentTimeLabel) in the format HH:mm. It als...
(1) odpowiedzi
2017-09-17 00:09 Why does `decode(_:forKey:)` ignore its first parameter? »
It seems like decode(_forKey:) ignores its first parameter, and instead relies on the generic parameter to decide what type to decode. If this is the ...
(1) odpowiedzi
2017-09-16 20:09 How to tell if malloc failed in swift on iOS? »
How can I detect if malloc fails in swift? The end goal is to simply allocate the required amount of space, and if ios can not allocate it, report th...
(2) odpowiedzi
2017-09-16 05:09 Swift generic function call underlying method based on generic type »
I am writing an interface to Someone Else's Code (SEC), and I have a long list of functions more or less like this: public func readString(_ row: Row...
(1) odpowiedzi
2017-09-16 04:09 Do system object delegates in ARC need to be set to nil? »
An app crashes sometimes with error objc_object::release(). The Apple Developer Technical Support mentioned this: Remember that you should always...
(1) odpowiedzi
2017-09-15 22:09 Hand off parent container's pan gesture to nested UICollectionView »
I'm trying to build a complex split view container controller that facilitates two variable height containers, each with their own nested view control...
(2) odpowiedzi
2017-09-15 20:09 Social login in IOS using Swfit »
Well this is general question, what I want that If anyone login on my using Google-Auth/Email-Password login and I can gets it Facebook profile info's...
(1) odpowiedzi
2017-09-15 11:09 Forced to cast, even if protocol requires given type »
I have following code: import UIKit protocol Fooable: class where Self: UIViewController { func foo() } class SampleViewController: UIViewContr...
(5) odpowiedzi
2017-09-15 03:09 String comparison in Swift is not transitive »
I ran into this example where s1 < s2 and s2 < s3 but (s1 < s3) is false: var str1 = "あいかぎ" var str2 = "あいかくしつ" var str3...
(1) odpowiedzi
2017-09-14 22:09 Unexpectedly large Realm file size »
This question is about using two different ways to insert objects into a Realm. I noticed that the first method is a lot faster, but the size result i...
(3) odpowiedzi
2017-09-14 19:09 How to call an objective-c function which accepts Dictionary of blocks as argument from Swift? »
I have a function in my objective c file (lets say class MyBlockExecutor): + (void) runBlockFromDictionary: (NSDictionary*) blocksDict andKey: (NSStr...
(2) odpowiedzi
2017-09-14 10:09 BoringSSL Error when I compile my App in Xcode 9 »
I made an App with "Google Firebase" as my back-end. I want my App to be able to send push notifications, and actually, I have all setted up, however...
(1) odpowiedzi
2017-09-14 02:09 How to determine if the last cell of a UITableView is visible on the screen »
I'm using the following code to determine if the last screen is visible on the screen to the user: override func tableView(_ tableView: UITableView, ...
(3) odpowiedzi
2017-09-13 17:09 Apple Mach-O Linker (ld) Error Group with Swift 3 & Xcode 9 GM »
This was running fine till GM Xcode (and iOS 11). Now I get these errors: Apple Mach-O Linker (ld) Error Group "__T0So20AVCapturePhotoOutputC12AVF...
(3) odpowiedzi
2017-09-13 12:09 Xcode 9 GM undefined symbols for architecture arm64 »
In Xcode 9's GM release, I am getting some compile-time errors for undefined symbols for architecture arm64, namely for AVFoundation with: AVCapture...
(1) odpowiedzi
2017-09-13 10:09 Detect if the device is iPhone X »
My iOS app uses a custom height for the UINavigationBar which leads to some problems on the new iPhone X. Does someone already know how to reliable ...
(9) odpowiedzi
2017-09-12 16:09 How to get response after integrating UPI using hyperlink »
In my iOS application, I need to accept payments from the user. I am using UPI for the same. I have followed the following document provided by UPI h...
(0) odpowiedzi
2017-09-12 10:09 Migrating UIWebView delegate to WKWebView delegate method »
I am working on migrating UIWebView to WKWebView. I have changed all the Delegate methods. I need WKWebView delegate methods equal to below UIWebView ...
(1) odpowiedzi
2017-09-12 08:09 Mutex alternatives in swift »
I have a shared-memory between multiple threads. I want to prevent these threads access this piece of memory at a same time. (like producer-consumer p...
(3) odpowiedzi