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
134
votes
11 answers

Xcode iOS 8 Keyboard types not supported

I have a UITextField Ctrl-dragged as an @Outlet in my .swift class. Now in viewDidLoad i'm using this code self.myTextField.keyboardType = UIKeyboardType.DecimalPad When i launch my app on simulator and click on the UITextField i got this log …
r4id4
  • 5,877
  • 8
  • 46
  • 76
132
votes
30 answers

UITableView dynamic cell heights only correct after some scrolling

I have a UITableView with a custom UITableViewCell defined in a storyboard using auto layout. The cell has several multiline UILabels. The UITableView appears to properly calculate cell heights, but for the first few cells that height isn't properly…
blackp
  • 1,752
  • 3
  • 13
  • 14
130
votes
10 answers

Is it possible to obtain a dynamic table view section header height using Auto Layout?

New in iOS 8, you can obtain 100% dynamic table view cells by simply setting the estimated row height, then layout your elements in the cell using Auto Layout. If the content increases in height, the cell will also increase in height. This is…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
128
votes
14 answers

WKWebView not loading local files under iOS 8

For previous iOS 8 betas, load a local web app (in Bundle) and it works fine for both UIWebView and WKWebView, and I even ported a web game using the new WKWebView API. var url = NSURL(fileURLWithPath:NSBundle.mainBundle().pathForResource("car",…
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
127
votes
24 answers

UIAlertController custom font, size, color

I am using new UIAlertController for showing alerts. I have this code: // nil titles break alert interface on iOS 8.0, so we'll be using empty strings UIAlertController *alert = [UIAlertController alertControllerWithTitle: title == nil ? @"": title…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182
126
votes
6 answers

What is the entry point of swift code execution?

There is no main() method in swift. The program must start the execution from somewhere. So what is the entry point of swift code execution and how is it decided?
Selvin
  • 12,333
  • 17
  • 59
  • 80
120
votes
13 answers

How to present popover properly in iOS 8

I'm trying to add a UIPopoverView to my Swift iOS 8 app, but I am unable to access the PopoverContentSize property, as the popover does not show in the correct shape. my code: var popover: UIPopoverController? = nil func addCategory() { …
Joris416
  • 4,751
  • 5
  • 32
  • 59
120
votes
7 answers

Adaptive segue in storyboard Xcode 6. Is push deprecated?

Xcode 6 interface builder by default has new checkbox "use size classes". It makes views adaptive. When I try to make segue between 2 views in my storyboard I have new options: instead old: Now we have "show" and "present modally" instead of…
John Kakon
  • 2,531
  • 4
  • 24
  • 28
115
votes
5 answers

Ask for User Permission to Receive UILocalNotifications in iOS 8

I have set up local notifications in the App Delegate Using this: - (void)applicationDidEnterBackground:(UIApplication *)application { UILocalNotification *notification = [[UILocalNotification alloc]init]; [notification setAlertBody:@"Watch…
dannysandler
  • 1,881
  • 4
  • 16
  • 14
112
votes
11 answers

Disable a Button

I want to disable a button (UIButton) on iOS after it is clicked. I am new to developing for iOS but I think the equivalent code on objective - C is this: button.enabled = NO; But I couldn't do that on swift.
baranbaris
  • 1,281
  • 2
  • 8
  • 12
111
votes
13 answers

Enterprise App Update Distribution on iOS 8

I have an enterprise app that I'm distributing via an itms URL: itms-services://?action=download-manifest&url=itms-services://?action=download-manifest&url=https://$MY_PLIST_URL.plist On iOS 7, both downloads and updates work fine. On iOS 8,…
Patrick Perini
  • 22,555
  • 12
  • 59
  • 88
109
votes
12 answers

Determine if the access to photo library is set or not - PHPhotoLibrary

With the new functionality in iOS 8, if you are using a camera in the app, it will ask for permission to access the camera and then when you try to retake the pic, it asks for permission to access photo library. Next time when I launch the app, I…
tech_human
  • 6,592
  • 16
  • 65
  • 107
108
votes
4 answers

Why can't I call the default super.init() on UIViewController in Swift?

I am not using a UIViewController from a storyboard and I want to have a custom init function where I pass in an NSManagedObjectID of some object. I just want to call super.init() like I have in Objective-C. Like this: init(objectId:…
SirRupertIII
  • 12,324
  • 20
  • 72
  • 121
107
votes
5 answers

What is the "right" way to handle orientation changes in iOS 8?

Can someone please tell me the "right" or "best" approach to working with portrait and landscape interface orientations in iOS 8? It seems that all the functions I want to use for that purpose are deprecated in iOS 8, and my research has turned up…
rmp251
  • 5,018
  • 4
  • 34
  • 46
106
votes
16 answers

Attributed string with custom fonts in storyboard does not load correctly

We are using custom fonts in our project. It works well in Xcode 5. In Xcode 6, it works in plain text, attributed string in code. But those attributed strings set in storyboard all revert to Helvetica when running on simulator or device, although…
Allen Hsu
  • 3,515
  • 3
  • 25
  • 38