ios7.1

Xcode 5.1 - iOS 7.1 error

我怕爱的太早我们不能终老 提交于 2019-12-11 12:06:28
问题 I had successfully built an app with xcode 4.5 and iOS 6.1 SDK. But yesterday I updated Xcode to 5.1. And now when I try to build for releasing, it throws so many errors. These are the errors. types.h - User Defined Issues - Architecture not supported _types.h - User Defined Issues - Architecture not supported Semantic issue - Unknown type name '__int64_t', Unknown type name '__int32_t', Unknown type name '__uint64_t', Unknown type name '__uint32_t', Unknown type name '__darwin_natural_t'..

UITextField TapGesture doesn't respond on iOS 7.1

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 02:08:12
问题 I have a uitextfield which is programatically added to view. I need to show a UIPickerview, when i tap on that, I have added a UITapgestureRecognizer for that and user interaction also enabled. Which was working fine till IOS 7.0. But when i updated to IOS 7.1 which is not getting called. 回答1: Rather than setting a tap gesture for your textField , you can simply set the inputView of your textField as your pickerView . This simply enables you to show the UIPicker when the textField is tapped

Undefined key NSException in UIPickerView iOS7.1

那年仲夏 提交于 2019-12-10 19:55:52
问题 I'm getting an exception in the iOS 7.1 simulator that doesn't appear in 7.0. It appears to be handled somewhere in the core because it only triggers an exception raise breakpoint. It doesn't log to the console or crash. This occurs while scrolling through options in a UIPickerView. There is no meaningful backtrace available (right from UIApplicationMain into objc_exception_throw), but examining the exception during throw in the debugger shows: [<UIPickerView 0xb9a6700> valueForUndefinedKey:]

iOS 7.1 crash if heightForRowAtIndexPath is not declared

戏子无情 提交于 2019-12-10 18:36:19
问题 I was trying to use estimatedHeightForRowAtIndexPath for dynamic cell height with AutoLayout and working as expected in iOS8 but crush in iOS7.1 by saying this: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MyProject.ViewController tableView:heightForRowAtIndexPath:]: unrecognized selector sent to instance 0x79e91350' If I define heightForRowAtIndexPath , error go away but cell won't auto size itself. Any idea? Update: It's indeed available in iOS 7.0,

Can I debug my app on iOS 7 from Xcode 7?

喜欢而已 提交于 2019-12-10 14:29:56
问题 Can I debug my app on iOS 7 from Xcode 7? From what I can tell Xcode 7 just ignores any plugged in devices with iOS 7 installed. Is this just a fluke or is this a permanent change to Xcode? (Using: Xcode 7 beta 6, iPhone 4S iOS 7.1) 回答1: The BAD news is that you can't test your app on iOS 7 simulators. At least not with Xcode 7.3.1. If you are using previous Xcode beta then you should check this answer. The GOOD news is that you can test it on real device running iOS 7. I tested mine with

SpriteKit RGBA444_COMPRESSED doubles the size on screen

非 Y 不嫁゛ 提交于 2019-12-10 13:27:17
问题 I am running a SpriteKit game on iPhone4, iOS7.1 When I select the regular RGBA888 texture atlas format it looks good, however, when I try to use RGBA444_COMPRESSED, all atlas textures are double the size as if the display is not retina. Any ideas? 来源: https://stackoverflow.com/questions/32467883/spritekit-rgba444-compressed-doubles-the-size-on-screen

ios7.1 Prefix.pch not work

戏子无情 提交于 2019-12-10 11:58:16
问题 In my project I cannot find Prefix.pch file so I create new one, and Build Setting -- prefix header add the file path and name in it projectdir/projectname-Prefix.pch #ifdef __OBJC__ #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> #define APP_FONT(fontSize) [UIFont systemFontOfSize:fontSize] #endif I can set font without any error warning label.font = APP_FONT(18); However it crash at running time, APP_FONT(18) returns nil. It is no problem run on ios8

Problems with currentPlaybackTime and MPMusicPlayerController and iOS 7.1

一曲冷凌霜 提交于 2019-12-10 09:47:29
问题 Having problems setting currentPlaybackTime with MPMusicPlayerController in iOS 7.1. I used to be able to simply do the following: MPMusicPlayerController *iPodController = [MPMusicPlayerController applicationMusicPlayer]; iPodController.currentPlaybackTime = 30.0; [iPodController play]; And the music player would seek to 30 seconds in and play. As of iOS 7.1 this is not the case. If I do the following: [iPodController play]; iPodController.currentPlaybackTime = 30.0; Then it "may" jump 30

iOS 7.1 Sprite Kit AVAudioSession Crash when enter background

≡放荡痞女 提交于 2019-12-09 07:05:17
问题 So 2 weeks ago I submitted a sprite kit app to the app store and it all was fine. I was having problems before i submitted the app where it would crash because of AvAudioSession, however i was able to fix that problem through this Sprite Kit & playing sound leads to app termination. This basically sets AVAudioSession to inactive when going into background and then active again when coming into foreground. I recently update my phone it iOS 7.1 and this fix doesn't seem to work in the new 7.1