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
91
votes
26 answers

Xcode 6 error: "Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier."

I'm trying to build an extension project and Xcode keeps throwing the error in subject. Needless to day, the extension's bundle id is prefixed with app's bundle id. Product Name: ro.chitza.TodayPics.$(TARGET_NAME:rfc1034identifier I've tried…
chitza
  • 1,434
  • 2
  • 11
  • 20
91
votes
6 answers

Communicating and persisting data between apps with App Groups

iOS 8 revealed a new API yesterday concerning App Groups. It was kind of messy before to share data and communicate between apps and I believe that's precisely what App Groups is intended to correct. In my app I have enabled App Groups and added a…
streem
  • 9,044
  • 5
  • 30
  • 41
89
votes
2 answers

How do I declare typedef in Swift

If I require a custom type in Swift, that I could typedef, how do I do it? (Something like a closure syntax typedef)
esh
  • 2,842
  • 5
  • 23
  • 39
87
votes
2 answers

How to create a SceneKit SCNSkinner object in code?

I have a Swift app using SceneKit for iOS 8. I load a scene from a .dae file that contains a mesh controlled by a skeleton. At runtime, I need to modify the texture coordinates. Using a transform is not an option -- I need to compute a different,…
jcr
  • 878
  • 6
  • 7
86
votes
20 answers

How to determine the content size of a WKWebView?

I am experimenting with replacing a dynamically allocated instance of UIWebView with a WKWebView instance when running under iOS 8 and newer, and I cannot find a way to determine the content size of a WKWebView. My web view is embedded within a…
Mark Smith
  • 993
  • 1
  • 7
  • 7
84
votes
15 answers

How to display an activity indicator with text on iOS 8 with Swift?

I wanna show, programmatically, an activity indicator with text, like the one in the Photos app (after editing and saving a picture). How can I do this?
rodrigoalvesvieira
  • 7,895
  • 15
  • 63
  • 84
84
votes
4 answers

Use Cocoapods with an App Extension

I'm trying to build a photo App Extension in Xcode 6 Beta-6 that uses cocoapods libraries. The bridging header that Xcode creates for the photo extension can't see anything from cocoapods. For example: #import results in the…
DanBlakemore
  • 2,306
  • 2
  • 20
  • 23
84
votes
13 answers

How to use Charles Proxy on the Xcode 6 (iOS 8) Simulator?

It seems that the directory for the iOS Simulator has changed. It used to be in ~/Library/Application\ Support/iPhone\ Simulator/ and now it's in ~/Library/Developer/CoreSimulator/Devices/.
codeperson
  • 8,050
  • 5
  • 32
  • 51
83
votes
10 answers

can't get correct value of keyboard height in iOS8

I was using this code to determine what is the size of the keyboard : - (void)keyboardWillChange:(NSNotification *)notification { NSDictionary* keyboardInfo = [notification userInfo]; NSValue* keyboardFrameBegin = [keyboardInfo…
Eli Braginskiy
  • 2,867
  • 5
  • 31
  • 46
83
votes
14 answers

Swift presentViewController

I programatically have multiple View Controllers in an iOS Swift Project. I do not have the storyboards and would like to avoid them if possible. Is there a way to switch to another viewcontroller.swift file (We will call it view2.swift) and have it…
Z-Tech
  • 4,360
  • 4
  • 17
  • 10
82
votes
5 answers

How do I get the return key to perform the same action as a button press in Swift?

I want to know how you allow an action to be made by either pressing the return key on the software keyboard or by tapping a UIButton. The UI button is already set up to perform an IBAction. How do I also allow users to press the return key on the…
Fiducial13
  • 1,103
  • 2
  • 9
  • 16
80
votes
6 answers

Jerky Scrolling After Updating UITableViewCell in place with UITableViewAutomaticDimension

I am building an app that has a feed view for user-submitted posts. This view has a UITableView with a custom UITableViewCell implementation. Inside this cell, I have another UITableView for displaying comments. The gist is something like this: Feed…
Bryan Alger
  • 831
  • 1
  • 8
  • 6
78
votes
7 answers

How to use VideoToolbox to decompress H.264 video stream

I had a lot of trouble figuring out how to use Apple's Hardware accelerated video framework to decompress an H.264 video stream. After a few weeks I figured it out and wanted to share an extensive example since I couldn't find one. My goal is to…
Olivia Stork
  • 4,660
  • 5
  • 27
  • 40
77
votes
1 answer

Why requestWhenInUseAuthorization doesn't prompt the user for access to the location?

In my viewDidLoad method I have locationManager = [[CLLocationManager alloc]init]; // initializing locationManager locationManager.delegate = self; // we set the delegate of locationManager to self. locationManager.desiredAccuracy =…
spen123
  • 3,464
  • 11
  • 39
  • 52
77
votes
19 answers

How to load URL in UIWebView in Swift?

I have the following code: UIWebView.loadRequest(NSURLRequest(URL: NSURL(string: "google.ca"))) I am getting the following error: 'NSURLRequest' is not convertible to UIWebView. Any idea what the problem is?
User
  • 23,729
  • 38
  • 124
  • 207