ios8.1

UIApplicationExitsOnSuspend is there an equivalent for iOS 8?

随声附和 提交于 2020-05-28 05:53:10
问题 UIApplicationExitsOnSuspend is only applicable to links against SDK 4, is there an equivalent for iOS8? The app that I am working on has to exit and leave no trace for the user resume from, as the app provides a pay for service, and it requires that the next person using it cannot resume from where the previous user may have left. I tried things like exit/abort and the latter but all appear to leave a trace to resume from... 回答1: In the info.plist for your app click "+" to add a new entry and

Images Disappearing after setting “Valid Architecture” to “arm64”

二次信任 提交于 2020-01-17 03:55:09
问题 I am updating an existing app from another developer to support 64 bit devices as Apple is going to make it compulsory. I added :- Architectures : $(ARCHS_STANDARD) valid Arch : armv7 arm64 Problem :- The slot items after stopping the rotation disappear. this happens only on i5,i6 n i6+ devices only. (Working perfect on i4s n iPad(s)) Failed Attempts: 1) Converted all float values to CGFloat for if the float might be loosing values. 2) tried to use xib of i4 in place of i5s P.S: This question

Unable to get File name of image captured with camera

耗尽温柔 提交于 2020-01-13 15:02:18
问题 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 image with camera in my app, It returns file name " null ". Here is my code to save and select image from gallery using UIImagePickerController - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary

Has anything changed with custom UITableView prototype cells constraints since iOS 8.3?

感情迁移 提交于 2020-01-03 13:43:26
问题 I have recently installed iOS 8.3 on my iPhone (I had iOS 8.1 before). I also updated the iOS SDK from iOS 8.1 to iOS 8.3. Since I updated it some custom prototype cells I had seem to be misplaced. Has anything changed from iOS 8.1 to iOS 8.3 regarding the way constraints are handled? EDIT: I tried the solution suggested but does not work for me. Will add more details on my cells in few seconds. I added this to the custom cell class: -(void) updateConstraints{ [super updateConstraints]; [self

remoteControlReceivedWithEvent called on iOS 7.0 device but not iOS 8.0

别等时光非礼了梦想. 提交于 2019-12-30 23:51:19
问题 I have an application that plays audio in the background. I am trying to fix a bug where the audio controls (play/pause), on the home screen (etc.), DO NOT work on iOS 8.0+ but work FINE on iOS 7.0. I have been digging through trying to figure out what the issue is and have been coming up empty. Any ideas would be greatly appreciated. Here is what I have in place. In the Project Settings: I have ensured that UIBackgroundModes is set to audio . In the AppDelegate.h: I have a member for the

remoteControlReceivedWithEvent called on iOS 7.0 device but not iOS 8.0

為{幸葍}努か 提交于 2019-12-30 23:50:31
问题 I have an application that plays audio in the background. I am trying to fix a bug where the audio controls (play/pause), on the home screen (etc.), DO NOT work on iOS 8.0+ but work FINE on iOS 7.0. I have been digging through trying to figure out what the issue is and have been coming up empty. Any ideas would be greatly appreciated. Here is what I have in place. In the Project Settings: I have ensured that UIBackgroundModes is set to audio . In the AppDelegate.h: I have a member for the

Reducing iOS App file size

淺唱寂寞╮ 提交于 2019-12-28 22:03:13
问题 I have made a very simple iPhone app with Xcode 6.1 and swift. I am really new to ios developing and ran into an app which in the end is 134 mb! of course this is not acceptable. I have background images for all screen sizes which add up to 20 mb. and thats it! I am storing those images in xcassets, as thats the preferred way I guess. the app shouldnt have more than 25 mbs, I think. I figured out that I had some references doubled in my project. I removed these and still my .app file is 89

Document Or cache Path Changes on every launch in iOS 8

泄露秘密 提交于 2019-12-28 13:49:06
问题 As i am downloading a video in my app and keeping it in local cache/Document path and showing when necessary. It is working in iOS 7 but the avplayer not showing video in iOS 8 and above. As i have read that the document/cache path is changed on every launch in iOS 8. The issue is, I have to download video once and show it multiple times in my app. So how can i reach the same path again and again to show video in app. Here is my code: NSArray *paths = NSSearchPathForDirectoriesInDomains

invalid redeclaration in auto code generate NSManagedObject Subclass Swift 3

半城伤御伤魂 提交于 2019-12-28 11:48:16
问题 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 MapRegionObject+CoreDataProperties Errors in two files showing in the screenshot: MapRegionObject+CoreDataClass.swift MapRegionObject+CoreDataProperties Please help me fix this bugs, thank you so much! 回答1: In Xcode 8.1, before using the auto code

how to request permission to retrieve user's email using twitter kit version 1.2.0 in ios8?

自作多情 提交于 2019-12-28 05:53:09
问题 I have integrated twitter kit in my ios app by following https://dev.twitter.com/twitter-kit/ios/configure this. I could sign-in after authentication and see my twitter name easily but now i want to retrieve my email address so i used TWTRShareEmailViewController which presents user a share email view which returns null. I went through the docs where they mentioned about my app to be whitelisted for requesting email permission and said to fill up this form https://support.twitter.com/forms