unable to open csv file from mail app ios11

I have an app that exports a backup csv file via email which I can then use to import back into the app via "copy to". Up to iOS11 it was all working fine. Now with iOS11 in the mail app I get the name of the file and "comma-seperated values" when I ...
more »

2017-10-04 22:10 (0) Answers

Starting the simulator in XCode 9 (not headless)

I am trying to run both my unit and ui tests with xcodebuild like: $ xcodebuild -scheme "MyAppScheme" -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=11.0' build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO The problem is that th...
more »

2017-10-03 16:10 (1) Answers

Location Access Request in iOS 11

I am requesting the user location in my app. locationManager.requestAlwaysAuthorization() This line of code should return this alert message: However, I want the user to choose between "Don't Allow" and "Always Allow" only. how can I delete th...
more »

2017-10-03 15:10 (2) Answers

How to set unsafe area background color for ios 11

Creating some new view controllers with xcode 9 so now I have a few safe areas to deal with. I am currently trying to do something fullproof, meaning keeping the unsafe area as it is (since I always display the status bar) and having the background ...
more »

2017-10-03 12:10 (2) Answers

Xcode 9 simulator doesn't save userdefaults

Maybe it's the same issue as this one. But few of the solutions that I have tried don't work. The simulator don't save userdefaults on Xcode Version 9.0 beta 6 (9M214v). I had Xcode 8 as well (together with 9) but removed it. the code that I'm usi...
more »

2017-10-02 15:10 (1) Answers

iOS 11 UINavigation Bar is messed up

With iOS 11 navigation bar's title view and bar button item is not centered. Also the background image's height does not change and is not shown in full.The bar height is 74. See the white space. I have tried this if(@available(iOS 11,*)){ _...
more »

2017-10-02 11:10 (1) Answers

Xcode 9 - iOS 11 UITableView rows are empty

Ever since the new iOS 11 update, I have an app that will show blank tableview rows on the simulator and device. Even the row separators will not show for any of the rows that are supposed to be there. If I change the simulator to an older iOS versio...
more »

2017-09-27 17:09 (0) Answers

View controller gets pushed with wrong frame

This bug surfaced with iOS 11, and is related to the new, slightly taller UISearchBar provided by UISearchController. It's best explained by this very compressed gif. As you can see, when the hexagon page pushes a view controller, it the view contr...
more »

2017-09-27 15:09 (0) Answers

iOS 11: self.performSegue() not working

i started the migration to Xcode 9 & iOS 11 build today. in my storybased app, the following code: self.performSegue(withIdentifier: Const.UI.Segue.showIntro, sender: self) runs fine in all previous iOS (just verified with iOS 10.3, 10.0, 9.0...
more »

2017-09-26 22:09 (0) Answers

Facebook share extension crashing in iOS 11

I'm using the UIActivityViewController to enable the user to share images on social media. However, Facebook's share dialog crashes in iOS 11 after a few seconds with the following log: [core] SLRemoteComposeViewController: (this may be harmless) vi...
more »

2017-09-26 15:09 (0) Answers

FBSDKLoginManagerLoginResult return nil iOS 11

With iOS 11 FBSDKLoginManager (v.4.25.0) use SFAuthenticationSession instead of SFSafariViewController, if user cancel Sign In, FBSDKLoginManagerLoginResult always return nil and result.isCancelled code not work: [[FBSDKLoginManager new] logInWithRe...
more »

2017-09-25 10:09 (1) Answers

Creating Gif Image Color Maps in iOS 11

I recently was having an issue when creating a Gif where if it got too big colors went missing. However thanks to help from SO someone was able to help me find a work around and create my own color map. Previous Question here...iOS Colors Incorrect ...
more »

2017-09-24 17:09 (0) Answers

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 fix it? Help is very appreciated. PS: I prefer not to just "silence" it with an Environment Varia...
more »

2017-09-21 22:09 (2) Answers

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 viewDidLoad() { } Logs: CoreData: annotation: Failed to load optimized model at path '/var/containers...
more »

2017-09-21 15:09 (2) Answers

Live stream using AVPlayer not playing in iOS 11

I am trying to stream a music from remote url. I am trying to run this in iOS 11 but it not play the music. ViewController var session = AVAudioSession.sharedInstance() var LQPlayer: AVPlayer? let LOW_URL = URL(string: "http://someLInk.pls")! // ...
more »

2017-09-21 10:09 (1) Answers

Showing MKAnnotation callout when clustered

I have a TableView that is used to show MapView annotation callouts when the cells are tapped. In iOS 10 I can centre the MapView on an annotation then show it's callout using: func tableView(_ tableView: UITableView, didSelectRowAt indexPath: Index...
more »

2017-09-20 21:09 (1) Answers

Launch Image names of iPhoneX?

A question about iPhoneX. I want put Launch Image of iPhoneX( 1125px × 2436px) in common folder. Not in LaunchImage source. What's the Launch Image names of iPhoneX? just like 'Default-iOS8-736h@3x', I can not found the name in https://develop...
more »

2017-09-20 17:09 (1) Answers