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

Compiling code only for the iOS 8.1 SDK in Swift

I want to conditionally compile some code when building with the iOS 8.1 SDK, and compile some different code when using the 8.0 SDK. In a small project that targets the 8.1 SDK (and can use APIs new to 8.1), it appears that the #if directive…
ide
  • 19,942
  • 5
  • 64
  • 106
3
votes
1 answer

why SLComposeViewController not sharing text and link in Ipad?

when I try to share text and link on Facebook using SLComposeViewController its showing in iphone but not showing in ipad. thanks
sanjeet
  • 1,539
  • 15
  • 37
3
votes
2 answers

Can not add images to iOS Simulator

I can not add any images to ios simulator. I tried saving from google images and tried dragging the images to photos app in the simulator but no image appear in my photos app. There are only 5 sample images. My iOS simulator is 8.1 and same problem…
3
votes
1 answer

Connection to assetsd was interrupted or assetsd died (with memory warnings)

We are trying to let users import picture from their albums(UIImagePickerController) and also we are scaling/resizing down images that are greater than 8 megapixels(iPhone standard). But every time the app crashes with Connection to assetsd was…
USERX2DX
  • 207
  • 2
  • 8
3
votes
1 answer

Store a swift closure as a property on an objective-c class where the block is declared using a typedef

OMG, for the life of me I can't get this to work. I've got a typdef in objective-c that looks like this: typedef void (^StringBlock)(NSString * string); I've got an objective-c class that has a property that allows you to store your own block of…
shmim
  • 729
  • 9
  • 21
3
votes
4 answers

Background Fetch Does Not Appear to Fire

In my app, I have performed the following listed below and have added counter to the app fetch routine to highlight the number of times fetch is called by iOS 8.1. Turned on Background Modes and enabled background fetch. Wrote code for…
mkneisler
  • 31
  • 1
  • 2
3
votes
3 answers

Api to read device logs on iOS 8

How does this app "System Console" (made by a company named Electric Labs Ltd) access the device logs on iOS 8? I'm trying to do the same thing but all I get is my own app's log messages. I'm using the api for the Apple System Logging facility…
Mohamed AMAZIRH
  • 1,159
  • 7
  • 26
3
votes
2 answers

Unable to get File name of image captured with camera

I'm trying to build an app in which I'm able to capture image with camera and save to gallery. But I'm unable to get the file name of image. If I select image from camera roll, then I'm able to get file name of selected image.But when I capture…
Sushil Sharma
  • 2,321
  • 3
  • 29
  • 49
3
votes
0 answers

iOS 8 memory leak when making lots of NSURLConnections

It seems there's a memory leak in ios 8 when using the NSURLConnection sendAsynchronousRequest:queue:completionHandler: method. (You can for example put it in the application:didFinishLaunchingWithOptions: method of AppDelegate The following code…
Drico
  • 1,284
  • 15
  • 33
3
votes
0 answers

activity tracing message not show in thread info

I am trying to get message in thread info after crash. code is - (IBAction)btn_crash:(id)sender { os_activity_initiate("activity", OS_ACTIVITY_FLAG_DEFAULT, ^{ os_trace_debug("test tracing"); [self testtracing]; }); } but…
saurabh
  • 31
  • 3
3
votes
1 answer

IOS app crashes when trying to run on IO7.1(photo.framework)

Well my app works fine on all the simulators im using on Xcode6 and the Iphone 6+ When trying to run my app on an Ipad with iOS 7.1 its crashes with this error: dyld: Library not loaded: /System/Library/Frameworks/Photos.framework/Photos …
Twizzler
  • 491
  • 1
  • 7
  • 25
3
votes
2 answers

Stretch Background for View in Swift

I am using adding Background in iOS Swift App using: self.view.backgroundColor = UIColor(patternImage: UIImage(named: "background")!) However, it does not cover the Screen till bottom. I searched Other questions: var backImage = UIImage(named:…
tika
  • 7,135
  • 3
  • 51
  • 82
3
votes
0 answers

libxml2/tree.h not found in Xcode 6.1

Hi in my Xcode project I have added libxml2.dylib framework.I am getting a error: libxml2/tree.h not found. I have set Header Search Path is "$(SDKROOT)/usr/include/libxml2" and i have tried other ways which i was found in googling but am getting…
sabir
  • 626
  • 7
  • 19
3
votes
2 answers

Apple Pay - decrypt payment data

I am trying to decrypt paymentData property of PKPaymentToken object upon a successful Apple Pay authorization. I am trying to follow the instruction here, but I am stuck on step 2 of the decryption steps, which says: Use the value of the…
user-123
  • 874
  • 1
  • 13
  • 34
3
votes
0 answers

Playing audio in a safari web app in iOS 8.1

Bevour you mark this as "old", I've searched the whole www for a solution, but I can't find one. I am making a WebApp that plays sound-effects. I've created a var audio = new Audio() element, and changed his src to the URL of the sound-effect. When…
Stephan Stanisic
  • 815
  • 7
  • 15