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
61
votes
17 answers

UITableView in Swift

I'm struggling to figure out what's wrong with this code snippet. This is currently working in Objective-C, but in Swift this just crashes on the first line of the method. It shows an error message in console log: Bad_Instruction. func…
DBoyer
  • 3,062
  • 4
  • 22
  • 32
60
votes
4 answers

Convert Swift Dictionary to String

For testing and debugging I am trying to put the content of Dictionary to a String. But have no clue hows it going to achieve. Is it possible? If yes, how. Dictionary is fetched from web service so I have no idea the key values it have. I want to…
khunshan
  • 2,662
  • 4
  • 28
  • 34
60
votes
11 answers

How do I create launch images for iPhone 6 / 6 Plus Landscape Only Apps?

I've got an existing landscape only app that I'm trying to add iPhone 6 / iPhone 6 Plus support for. When I was supporting iOS 6 / 7 I simply used the default-named launch portrait images with a landscape image rotated into portrait (ie. for 4"…
Alex Argo
  • 8,920
  • 12
  • 43
  • 46
60
votes
15 answers

Remove SeparatorInset on iOS 8 UITableView for Xcode 6 iPhone Simulator

I found a weird white space on UITableView for iPhone 6 Simulator (iOS 8) on Xcode 6 GM. I have tried to set the SeparatorInset from both storyboard and also the code, but the white space is till there. The following code works on iOS 7 but not on…
Ricky
  • 10,485
  • 6
  • 36
  • 49
60
votes
4 answers

What's the height of a UITabBar on iOS 8, iOS 9, iOS 10, and iOS 11?

The height of the UITabBar seems to have changed between iOS 7 and 8/9/10/11. I'm posting this question for others to easily find the answer. So: What's the height of a UITabBar on iOS 8/9/10/11 on iPhone and iPad?
Johannes Fahrenkrug
  • 42,912
  • 19
  • 126
  • 165
59
votes
12 answers

iOS 8 Auto cell height - Can't scroll to last row

I am using iOS 8 new self-sizing cells. Visually it works good - each cell gets its right size. However, if I try to scroll to the last row, the table view doesn't seem to know its right size. Is this a bug or is there a fix for that? Here's how to…
BenB
  • 1,522
  • 1
  • 14
  • 26
59
votes
9 answers

UIView background color in Swift

Is there a way to set the UIView background color with Swift? I know that in Objective-C, you would use self.view.backgroundColor = [UIColor redColor];, but that does not work the same way in Swift. I have looked around and because Swift is only…
Z-Tech
  • 4,360
  • 4
  • 17
  • 10
59
votes
5 answers

Today App Extension Widget Tap To Open Containing App

I've implemented a Today widget for my application +Quotes which displays the day's quote within the notification center with the help of these Apple Docs. What I'd like to accomplish is opening the Containing App, in this case +Quotes, when the…
Daniel Storm
  • 18,301
  • 9
  • 84
  • 152
58
votes
17 answers

Find Duplicate Elements In Array Using Swift

How to find Duplicate Elements in Array? I have array of phone numbers so in the phone numbers i should start searching from the right side to the left side and find similar 6 integers. then i should print them out.
C0mrade
  • 1,215
  • 1
  • 10
  • 23
58
votes
15 answers

UISearchBar presented by UISearchController in table header view animates too far when active

I am using UISearchController to present a search bar inside the header view of a tableview: ... self.searchController.hidesNavigationBarDuringPresentation = NO; self.presentingTVC.tableView.tableHeaderView =…
Zoë Smith
  • 1,084
  • 1
  • 11
  • 19
58
votes
13 answers

Launching into portrait-orientation from an iPhone 6 Plus home screen in landscape orientation results in wrong orientation

The actual title for this question is longer than I can possibly fit: Launching an app whose root view controller only supports portrait-orientation but which otherwise supports landscape orientations on an iPhone 6 Plus while the home screen is in…
jaredsinclair
  • 12,687
  • 5
  • 35
  • 56
58
votes
1 answer

Xcode 6.0.1 not displaying memory usage

I've upgraded to Xcode 6.0.1 from 5.1 and when I'm running my app, I can't see memory usage in debug navigator: I'm getting memory warnings. Yes, I could profile my app instruments without debugging, but seeing direct memory usage simply while…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
58
votes
16 answers

Detecting iPhone 6/6+ screen sizes in point values

Given the newly announced iPhone 6 screen sizes: iPhone 6: 1334h * 750w @2x (in points: 667h * 375w) iPhone 6+: 1920 * 1080 @3x (in points: 640h * 360w) I was wondering if there is code that allows me to detect which screen size the user's device…
daspianist
  • 5,336
  • 8
  • 50
  • 94
57
votes
6 answers

iOS library to BitCode

I recently downloaded Xcode 7 beta, and Xcode complains about some of my C libraries not being compiled into BitCode. How would I go about telling Clang to produce BitCode that is compatible with iOS? I've seen similar answers on stackoverflow, but…
stack_tom
  • 950
  • 2
  • 9
  • 18
57
votes
11 answers

-webkit-overflow-scrolling: touch; breaks in Apple's iOS8

I'm working on a web app that uses -webkit-overflow-scrolling:touch in several places to give the overflown divs inertia scrolling. Since updating to IOS8, -webkit-overflow-scrolling: touch stops you being able to scroll whatsoever, and the only way…
Jamie Beech
  • 913
  • 1
  • 9
  • 8