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
187
votes
14 answers

UISplitViewController in portrait on iPhone shows detail VC instead of master

I am using a Universal Storyboard in Xcode 6, targeting iOS 7 and above. I've implemented a UISplitViewController which is now natively supported on iPhone running iOS 8, and Xcode will automatically backport it for iOS 7. It's working really well,…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
187
votes
2 answers

Base64 Decoding in iOS 7+

I have Encoded text(NSString) using NSData Class new API which is Added in iOS7. using this - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding; here is my code NSString *base64EncodedString = [[myText dataUsingEncoding:NSUTF8StringEncoding]…
Sandeep Khade
  • 2,832
  • 3
  • 21
  • 37
186
votes
18 answers

Is [UIScreen mainScreen].bounds.size becoming orientation-dependent in iOS8?

I ran the following code in both iOS 7 and iOS 8: UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; BOOL landscape = (orientation == UIInterfaceOrientationLandscapeLeft || orientation ==…
lwxted
  • 2,419
  • 2
  • 16
  • 22
169
votes
25 answers

Can I set the cookies to be used by a WKWebView?

I'm trying to switch an existing app from UIWebView to WKWebView. The current app manages the users login / session outside of the webview and sets the cookies required for authentication into the the NSHTTPCookieStore. Unfortunately new WKWebView…
Col
  • 2,300
  • 3
  • 16
  • 16
163
votes
12 answers

Custom UITableViewCell from nib in Swift

I'm trying to create a custom table view cell from a nib. I'm referring to this article here. I'm facing two issues. I created a .xib file with a UITableViewCell object dragged on to it. I created a subclass of UITableViewCell and set it as the…
Isuru
  • 30,617
  • 60
  • 187
  • 303
161
votes
12 answers

Autoresizing issue of UICollectionViewCell contentView's frame in Storyboard prototype cell (Xcode 6, iOS 8 SDK) happens when running on iOS 7 only

I'm using Xcode 6 Beta 3, iOS 8 SDK. Build Target iOS 7.0 using Swift. Please refer to my problem step by step with screenshots below. I have a UICollectionView in Storyboard. 1 Prototype UICollectionViewCell which contains 1 label in the centre (no…
thkeen
  • 1,857
  • 2
  • 13
  • 16
161
votes
5 answers

What is an "unwrapped value" in Swift?

I'm learning Swift for iOS 8 / OSX 10.10 by following this tutorial, and the term "unwrapped value" is used several times, as in this paragraph (under Objects and Class): When working with optional values, you can write ? before operations like…
Maen
  • 10,603
  • 3
  • 45
  • 71
156
votes
8 answers

Why is UICollectionViewCell's outlet nil?

I have created a custom UICollectionViewCell in Interface Builder, binded views on it to the class, and then when I want to use and set a string to the label on the string, tha label has a nil value. override func viewDidLoad() { …
János
  • 32,867
  • 38
  • 193
  • 353
155
votes
25 answers

How to force view controller orientation in iOS 8?

Before iOS 8, we used below code in conjunction with supportedInterfaceOrientations and shouldAutoRotate delegate methods to force app orientation to any particular orientation. I used below code snippet to programmatically rotate the app to desired…
149
votes
28 answers

Launch Image does not show up in my iOS App

I want to get a simple launch screen to show in my app, built using Xcode 6.0.1. I have added a launch screen in two ways: As an XIB (with the default name, LaunchScreen.xib) and as a launchimage set within xcassets. I have made sure that my "Launch…
Eddie Hartman
  • 1,501
  • 2
  • 10
  • 4
144
votes
18 answers

Xcode 6 - How to pick signing certificate/provisioning profile for Ad-Hoc distribution?

To distribute the app to our testers we use Xcode, which we do using the following process: Archive application Distribute for Ad-Hoc Choose provisioning profile Save the .ipa to a folder But with Xcode 6, this workflow was changed a bit. I can…
Legoless
  • 10,942
  • 7
  • 48
  • 68
142
votes
7 answers

Rotation methods deprecated, equivalent of 'didRotateFromInterfaceOrientation'?

I'm trying to implement the new viewWillTransitionToSize method which has been introduced in iOS 8 (all other rotation methods have been deprecated). I'd like to know what the equivalent of didRotateFromInterfaceOrientation is now as there are a…
strange
  • 9,654
  • 6
  • 33
  • 47
140
votes
3 answers

Obtain bundle identifier programmatically in Swift?

How can I get the bundle ID in Swift? Objective-C version: NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
User
  • 23,729
  • 38
  • 124
  • 207
137
votes
16 answers

Xcode 6 iPhone Simulator Application Support location

In Xcode 6, I have an app I'm using Core Data in, but there is no folder in Application Support for the iOS 8 iPhone Simulator. Where are my files and Core Data sqlite database being stored?
HGDev
  • 2,203
  • 2
  • 17
  • 23
136
votes
16 answers

Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 3876877096_Portrait_iPhone-Simple-Pad_Default

I've downloaded iOS 8 Gold Master for the iPhone and the SDK. I tested the app and it works fine, except for one thing. I have a text field where a number pad will appear if the user wants to type something, in addition, a custom button is added to…
CRAZYSNAKE
  • 1,363
  • 2
  • 9
  • 7