Questions tagged [ios8.1]

Refers to the first minor version of Apple's iOS 8 operating system used on the iPhone, iPad, iPod, and upcoming Apple Watch devices.

iOS 8.1 was released on the 20th October 2014.

Please see the documentation for the API changes between iOS 8.0 and iOS 8.1.

392 questions
231
votes
6 answers

Simulator error FBSSystemServiceDomain code 4

I'm trying to run an app in the simulator but get this error message: Unable to run app in Simulator An error was encountered while running (Domain = FBSSystemServiceDomain, Code = 4) I've not seen any previous references to this from googling…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
76
votes
5 answers

Changing language on iOS 8.1 simulator does not work

If I change the language on an iOS 8.1 simulator to anything and try to detect this from code with NSString * language = [[NSLocale preferredLanguages] objectAtIndex:0]; NSLog(@"Language: %@", language); I get "en" back. I've tried resetting the…
Janos
  • 1,987
  • 3
  • 17
  • 24
75
votes
5 answers

Transparent background for modally presented viewcontroller

I am using Parse & ParseUI. I want my PFLoginViewController subclass to have a transparent background. In the future, I want to lay a blurred view over the background. But.... Once the animate-in of the PFLoginViewController is done, the background…
Tycho Pandelaar
  • 7,367
  • 8
  • 44
  • 70
53
votes
8 answers

invalid redeclaration in auto code generate NSManagedObject Subclass Swift 3

Using Version 8.1 of Xcode. Create an entity named "MapRegionObject" in .xcdatamodeld file. Using auto code generator, click Editor on the navigation bar -> create NSManagedOject Subclass... Got two files : MapRegionObject+CoreDataClass.swift and…
icelemon
  • 827
  • 2
  • 11
  • 23
27
votes
2 answers

how to convert Int32 value to CGFloat in swift?

Here my code. I am passing two values into CGRectMake(..) and getting and error. let width = CMVideoFormatDescriptionGetDimensions(device.activeFormat.formatDescription as CMVideoFormatDescriptionRef!).width // return Int32 value let height =…
iosLearner
  • 1,312
  • 1
  • 16
  • 30
25
votes
5 answers

ALAssetsLibrary assetForURL: always returning nil for photos in "My Photo Stream" in iOS 8.1

This code worked fine in iOS 7 but in iOS 8.1 all assets located in the "My Photo Stream" album are nil from within the result block. (The failureBlock is not called.) Regular albums and shared albums work just fine. I tried the accepted answer…
taber
  • 3,166
  • 4
  • 46
  • 72
24
votes
2 answers

NSLocale preferredLanguages objectAtIndex:0 always return "en"

Simulator's language already changed to Japanese, why [[NSLocale preferredLanguages] objectAtIndex:0] always return "en"? Neither preferred language nor region is related to "en", where does "en" come from? Tried to get [[NSLocale…
S1U
  • 825
  • 2
  • 14
  • 26
20
votes
8 answers

becomeFirstResponder not working in iOS 8

I am using UITextField's method becomeFirstResponder to show the keyboard. This is working in iOS 7. But in iOS 8 this method doesn't show the keyboard. UITextField *txtAddNew = [[UITextField alloc] initWithFrame:CGRectMake(10,10,240, 21)]; …
Tejas Bharambe
  • 672
  • 1
  • 12
  • 27
18
votes
1 answer

UICollisionBehavior - views pass through boundaries

As part of implementing a UICollisionBehaviour I set up boundaries for the screen edge. I then added some views and finally attached a UIPanGestureRecognizer to one of them. Now I can push around the smaller views with my draggable…
RickiG
  • 11,380
  • 13
  • 81
  • 120
17
votes
2 answers

iOS 8 iPad AVCaptureMovieFileOutput drops / loses / never gets audio track after 13 - 14 seconds of recording

I have the following code which works for iOS 6 & 7.x. In iOS 8.1 I have a strange issue where if you capture a session for about 13 seconds or longer, the resulting AVAsset only has 1 track (video), the audio track is just not there. If you record…
Si-N
  • 1,495
  • 1
  • 13
  • 27
16
votes
4 answers

Tap Mic Input Using AVAudioEngine in Swift

I'm really excited about the new AVAudioEngine. It seems like a good API wrapper around audio unit. Unfortunately the documentation is so far nonexistent, and I'm having problems getting a simple graph to work. Using the following simple code to set…
brodney
  • 1,176
  • 2
  • 14
  • 29
16
votes
3 answers

Unpredictable delay before UIPopoverController appears under iOS 8.1

This problem happens with SDK 8.1, when running under iOS 8.1, but not when running under iOS 7. It is for iPad only. The problem appears both with simulator and on a hardware device. The code below demonstrates a view controller that contains a…
rene
  • 1,975
  • 21
  • 33
16
votes
7 answers

Use of undeclared type 'AppDelegate' Swift

I've just spent half a day trying to solve next problem. I am testing the CoreData using Swift language. Follow this tutorial everything works fine. But after titorial I've tried to modify the structure and my code. The 'src' and groups inside it is…
Doshipak
  • 211
  • 1
  • 2
  • 9
15
votes
4 answers

UITableView get titleForHeadersInSection swift

I want to set the title of the header in the section of UITableView. What is the syntax in swift to set the title of the header in the section. func tableView( tableView : UITableView, titleForHeaderInSection section: Int)->String { …
Anupam Mishra
  • 3,408
  • 5
  • 35
  • 63
15
votes
4 answers

EXC_BAD_ACCESS on iOS 8.1 with Dictionary

I have an object accessible via a static var in a struct (workaround for the lack of class variable support in swift right now), structured like this: struct Constants{ static var myObj = MyObject() } MyObject has a dictionary in it like…
steventnorris
  • 5,656
  • 23
  • 93
  • 174
1
2 3
26 27