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
76
votes
1 answer

Suppress WKWebView from scaling content to render at same magnification as UIWebView does

Problem Using WKWebView in place of UIWebView, I noticed that the contents of the WKWebView were massively scaled down as compared to my UIWebView. I'd like the WKWebView to stop doing that, and just respect my CSS values literally, the way…
idStar
  • 10,674
  • 9
  • 54
  • 57
76
votes
7 answers

Remote Notification iOS 8

How can I get the Device Token for remote notification in iOS 8? I used the method didRegisterForRemoteNotificationsWithDeviceToken in AppDelegate in iOS < 8, and it returned the device token. But in iOS 8, it does not.
quang thang
  • 1,023
  • 1
  • 10
  • 16
75
votes
14 answers

How to remove cache in WKWebView?

Any one worked with WKWebView and tried to clear cache? If yes, how to do it? Any example? P.S. : Normal NSURLCache is not working.
Sravan
  • 1,891
  • 4
  • 23
  • 28
75
votes
9 answers

UIPopoverPresentationController on iOS 8 iPhone

Does anyone know if UIPopoverPresentationController can be used to present popovers on iPhones? Wondering if Apple added this feature on iOS 8 in their attempt to create a more unified presentation controllers for iPad and iPhone. Not sure if its…
Dave
  • 4,038
  • 9
  • 45
  • 57
74
votes
7 answers

Hide Status Bar In iOS 8 app

I have tried [[UIApplication sharedApplication] setStatusBarHidden:YES]; This does nothing. And I have looked in my Info.plist file for "View controller-based status bar appearance" but it's not there. How can I hide the white status bar at the…
Aggressor
  • 13,323
  • 24
  • 103
  • 182
74
votes
9 answers

Presenting camera permission dialog in iOS 8

When my app tries to access the camera for the first time on iOS 8, the user is presented with a camera permission dialog, much like the microphone one for microphone access in iOS 7. In iOS 7, it was possible to invoke the microphone permission…
jamix
  • 5,484
  • 5
  • 26
  • 35
73
votes
9 answers

String to NSNumber in Swift

I found a method to convert String to NSNumber, but the code is in Objective-C. I have tried converting it to Swift but it is not working. The code I am using: NSNumberFormatter *f = [[NSNumberFormatter alloc] init]; f.numberStyle =…
user2413621
  • 2,916
  • 7
  • 24
  • 28
73
votes
6 answers

Xcode 6 keeps renaming my app's directory in iOS8 simulator after each run.

I'm running Xcode 6 Beta 5 but this has been happening since the first beta. My app's directory in the simulator keeps being renamed after each run. It took me a while to figure this out. I'm using this to get the doc's dir reference. NSString…
Joseph Toronto
  • 1,882
  • 1
  • 15
  • 29
72
votes
9 answers

How to Migrate to WKWebView?

I'm trying to understand how to make use of the new WKWebView in iOS8, can't find much information. I've read: http://developer.telerik.com/featured/why-ios-8s-wkwebview-is-a-big-deal-for-hybrid-development/ http://nshipster.com/wkwebkit/ But how…
Daniel Åkesson
  • 1,330
  • 1
  • 12
  • 21
72
votes
7 answers

iOS 8 - Screen blank after dismissing view controller with custom presentation

When dismissing various view controllers using UIModalPresentationCustom, the screen turns black after the view controller is dismissed, as if all the view controllers had been removed from the view hierarchy. The transitioning delegate is set…
jaggedcow
  • 1,405
  • 1
  • 12
  • 23
72
votes
7 answers

Xcode 6 allows VECTOR image assets... how to use them?

I was fiddling with Xcode 6 vs images assets when I noticed something very interesting: we now can specify vector images in them (go see in the Utilities pane after selecting Images.xcassets). I tried a small app (containing a big UIImageView) with…
Jean Le Moignan
  • 22,158
  • 3
  • 31
  • 37
71
votes
8 answers

Convert NSSet to Swift Array

In CoreData I have defined an unordered to-many relationship. This relationship is defined in Swift like this: @NSManaged var types : NSMutableSet However, to use Swift at it's best, I want to use a normal Swift array like Type[]. However, CoreData…
Bouke
  • 11,768
  • 7
  • 68
  • 102
71
votes
5 answers

filteredArrayUsingPredicate does not exist in swift Array

I have "UserDetails" struct objects in array..I want to filter the objects from array. But there is no option for "filteredArrayUsingPredicate" in Swift array. My array creation var arrayOfUsers:UserDetails[] = UserDetails[]() my userdetails code…
Mani murugan
  • 1,792
  • 2
  • 17
  • 32
71
votes
4 answers

Swift Error: Variable used within its own initial value

When I'm initializing an instance of an entity I'm getting the error Variable used within its own initial value. Here is the code throwing the error: class func buildWordDefinition (word:String, language:Language, root:TBXMLElement) ->…
Francescu
  • 16,974
  • 6
  • 49
  • 60
70
votes
8 answers

Underline part of a string using NSMutableAttributedString in iOS 8 is not working

I try to underline part of a string, for example, a 'string' part in 'test string' string. I'm using NSMutableAttributedString and my solution was working well on iOS7. NSMutableAttributedString *attributedString = [[NSMutableAttributedString…
KlimczakM
  • 12,576
  • 11
  • 64
  • 83