Questions tagged [ios8]

iOS 8 is the eighth version of Apple's iOS mobile operating system. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on June 2, 2014 and was released to the public on September 17, 2014. The ios8 tag should be used for questions specific to Apple's iOS 8 operating system. General iOS questions should use the ios tag.

The biggest developer release yet with more than 4,000 new APIs. (See iOS 8 API Differences) iOS 8 allows developers to further customize the user experience with major extensibility features additions:

  • Notification Center widgets
  • Third-party keyboards
  • App extensions

This release also introduces robust frameworks such as:

  • HealthKit
  • HomeKit
  • LocalAuthentication
  • Photos
  • CloudKit

iOS 8 also includes Metal, a new graphics technology that maximizes the performance of the A7 chip with 10x performance and Swift, a powerful new programming language. SceneKit framework is introduced to build apps with 3D graphics and with high performance. Unified storyboard makes it easier to develop the interface for both iPhone and iPad with orientation and different screen size as well.

iOS and OS X introduces a new feature Handoff that extends the user experience of continuity across devices. Handoff enables users to begin an activity on one device, then switch to another device and resume the same activity on the other device.

Compatibility

iOS 8 supports the following devices:

  • Phone 4S
  • iPhone 5
  • iPhone 5S
  • iPhone 5C
  • iPhone 6
  • iPhone 6 Plus
  • iPhone 6S
  • iPhone 6S Plus
  • iPad 2
  • iPad 3
  • iPad 4
  • iPad Air
  • iPad Mini
  • iPad Mini 2
  • iPad Mini 3
  • iPad Mini 4
  • iPod Touch 5G

iOS 8 Latest Version

9298 questions
684
votes
43 answers

iOS 8 UITableView separator inset 0 not working

I have an app where the UITableView's separator inset is set to custom values - Right 0, Left 0. This works perfectly in iOS 7.x, however in iOS 8.0 I see that the separator inset is set to the default of 15 on the right. Even though in the xib…
user3570727
  • 10,163
  • 5
  • 18
  • 24
621
votes
26 answers

Location Services not working in iOS 8

My app that worked fine on iOS 7 doesn't work with the iOS 8 SDK. CLLocationManager doesn't return a location, and I don't see my app under Settings -> Location Services either. I did a Google search on the issue, but nothing came up. What could be…
ozg
  • 17,532
  • 5
  • 19
  • 21
499
votes
25 answers

Capture iOS Simulator video for App Preview

Okay, so we can now submit video previews of our apps on the App Store. According to Apple we should do so with an iOS8 device and OSX 10.10. The problem is you have to have all the different devices (4", 4.7", 5.5" and iPad). Is there an…
AXE
  • 8,335
  • 6
  • 25
  • 32
334
votes
4 answers

What's the difference between all the Selection Segues?

Show Show Detail Present Modally Popover presentation Custom What is the difference between them? I couldn't find any documentation on it. There used to be some which I found in a Google search, but it's now gone:…
User
  • 23,729
  • 38
  • 124
  • 207
322
votes
10 answers

Automatic Preferred Max Layout Width is not available on iOS versions prior to 8.0

I opened an existing iOS project with Xcode6 beta6, and Xcode lists the following warning for both Storyboard and Xib files: Automatic Preferred Max Layout Width is not available on iOS versions prior to 8.0 I tried addressing the warning by…
mono
  • 4,340
  • 3
  • 21
  • 49
303
votes
35 answers

Reading in a JSON File Using Swift

I'm really struggling with trying to read a JSON file into Swift so I can play around with it. I've spent the best part of 2 days re-searching and trying different methods but no luck as of yet so I have signed up to StackOverFlow to see if anyone…
Krivvenz
  • 3,911
  • 3
  • 22
  • 32
291
votes
16 answers

NSRange to Range

How can I convert NSRange to Range in Swift? I want to use the following UITextFieldDelegate method: func textField(textField: UITextField!, shouldChangeCharactersInRange range: NSRange, replacementString string:…
János
  • 32,867
  • 38
  • 193
  • 353
290
votes
28 answers

Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

I have an application which works fine on Xcode6-Beta1 and Xcode6-Beta2 with both iOS7 and iOS8. But with Xcode6-Beta3, Beta4, Beta5 I'm facing network issues with iOS8 but everything works fine on iOS7. I get the error "The network connection was…
VoidStack
  • 3,038
  • 2
  • 14
  • 10
244
votes
15 answers

How to create a String with format?

I need to create a String with format which can convert Int, Int64, Double, etc types into String. Using Objective-C, I can do it by: NSString *str = [NSString stringWithFormat:@"%d , %f, %ld, %@", INT_VALUE, FLOAT_VALUE, DOUBLE_VALUE,…
Apurv
  • 17,116
  • 8
  • 51
  • 67
230
votes
37 answers

Changing the Status Bar Color for specific ViewControllers using Swift in iOS8

override func preferredStatusBarStyle() -> UIStatusBarStyle { return UIStatusBarStyle.LightContent; } Using the above code in any ViewController to set the statusBar color to White for a specific viewcontroller doesnt work in iOS8 for me. Any…
Anuj
  • 6,987
  • 3
  • 22
  • 25
230
votes
20 answers

iOS 8 Snapshotting a view that has not been rendered results in an empty snapshot

In iOS 8 I am having problem capturing images from camera till now I am using this code for UIImagePickerController *controller=[[UIImagePickerController alloc]…
souvickcse
  • 7,742
  • 5
  • 37
  • 64
224
votes
24 answers

How to call gesture tap on UIView programmatically in swift

I have a UIView and and I have added tap gesture to it: let tap = UITapGestureRecognizer(target: self, action: Selector("handleTap:")) tap.delegate = self myView.addGesture(tap) I am trying to call it programmatically in the…
George
  • 3,600
  • 2
  • 26
  • 36
210
votes
15 answers

registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later

When trying to register for push notifications under iOS 8.x: application.registerForRemoteNotificationTypes(UIRemoteNotificationType.Alert | UIRemoteNotificationType.Badge | UIRemoteNotificationType.Sound) I get the following…
Wojtek Turowicz
  • 4,086
  • 3
  • 27
  • 38
194
votes
8 answers

How to enable native resolution for apps on iPhone 6 and 6 Plus?

Xcode 6 GM now includes simulators for iPhone 6 and 6 Plus, and by default they run apps in a scaled mode. To enable the new screen size I tried adding Default-667h@2x.png which seems to do a part of the trick since the app now fails to run at all,…
villapossu
  • 2,737
  • 4
  • 18
  • 19
192
votes
18 answers

NavigationBar bar, tint, and title text color in iOS 8

The background text in the status bar is still black. How do I change the color to white? // io8, swift, Xcode 6.0.1 override func viewDidLoad() { super.viewDidLoad() self.navigationController?.navigationBar.barTintColor =…
AG1
  • 6,648
  • 8
  • 40
  • 57
1
2 3
99 100