¡@

Home 

2014/10/15 ¤U¤È 10:15:45

iphone Programming Glossary: versions

iOS 6 apps - how to deal with iPhone 5 screen size? [duplicate]

http://stackoverflow.com/questions/12396545/ios-6-apps-how-to-deal-with-iphone-5-screen-size

and just doubled the pixels with the retina non retina problem won't work seamlessly between versions as it happened when we got the Retina . And will we have to design two storyboards just like for the..

How to detect iPhone 5 (widescreen devices)?

http://stackoverflow.com/questions/12446990/how-to-detect-iphone-5-widescreen-devices

detection As stated by some people this does only detect a widescreen not an actual iPhone 5. Next versions of the iPod touch will maybe also have such a screen so we may use another set of macros. Let's rename..

Is there a documented way to set the iPhone orientation?

http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation

being pushed back onto the stack. That likely means that you would need to detect older iPhone OS versions and only apply the setOrientation when it is prior to the latest release. It is not clear if Apple's..

Do I need to disable NSLog before release Application?

http://stackoverflow.com/questions/2025471/do-i-need-to-disable-nslog-before-release-application

DEBUG_MODE 1 Make sure you only do this for the Debug configuration and not for Beta or Release versions. Then in a common header file you can do something like #ifdef DEBUG_MODE #define DLog s ... NSLog @..

Programmatically add custom event in the iPhone Calendar

http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar

How to customize the background color of a UITableViewCell?

http://stackoverflow.com/questions/281515/how-to-customize-the-background-color-of-a-uitableviewcell

How To Make iPhone App compatible with multiple SDK (firmware) versions

http://stackoverflow.com/questions/3027120/how-to-make-iphone-app-compatible-with-multiple-sdk-firmware-versions

To Make iPhone App compatible with multiple SDK firmware versions With iOS4 coming out soon I have already planned to include an iAd in a future update of an app of.. this question Yes you can build with the latest SDK ie 5.1 and still run on devices with earlier versions of the firmware SDK . Set your Deployment Target to the earliest version you want to be able to run.. only when your app is on a 4.0 device. Of course you have to gracefully handle working on older versions by either using older methods or not supporting particular features that need newer SDK support. NEW..

Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs

http://stackoverflow.com/questions/3161385/install-xcode-3-2-3-w-iphone-sdk-4-get-base-sdk-missing-cant-see-other-sdk

Apple and install a previous Xcode version or SDK cf. here . Yes you can install multiple Xcode versions in different directories i.e. put only one version in Developer. You can use the old Xcode to test your.. available device or simulator options iPhone 3.2 or iPhone 4.0. If you want to target previous iOS versions then in that same window under Deployment iPhone OS Deployment Target select the lowest version you.. OS Deployment Target select the lowest version you want to support. Note that support for 2.x versions through the app store is deprecated. See the Readiness Checklist quote above. Base SDK location for..

Change User Agent in UIWebView (iPhone SDK)

http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk

registerDefaults dictionary See previous edits on this post if you need methods that work in versions of iOS before 4.3 5.0. Note that because of the extensive edits the following comments other answers..

Xcode 4 - “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a

certificate keychain provisioning profile share improve this question With Xcode 4.2 and later versions including XCode 4.6 there is a better way to migrate your entire developer profile to a new machine...

Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?

http://stackoverflow.com/questions/7760946/is-it-possible-to-target-older-ios-versions-when-using-xcode-4-2-and-ios-5-sdk

it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK I just recently downloaded the Xcode 4.2 with iOS 5 SDK package.. to 3.0 because I am not using any features in my app above 3.0 and I want to be able to target all versions 3.0 or higher. I have all my provisioning profiles installed and up to date. I have quit and restarted.. with ios 4.2.1. My question is is it possible to still make apps with the new SDK work for iOS versions lower than 5 How can I be sure that my app will still run on lower iOS versions if I am unable to install..

iCloud basics and code sample [closed]

http://stackoverflow.com/questions/7795629/icloud-basics-and-code-sample

and then move it to the cloud. In other words Apple seems to suggest that I should have three versions of the same file at all times one in the directory of my app one in the iCloud demon directory of my..

How do you optionally use iPhone OS 3.0 features in a 2.0 compatible app?

http://stackoverflow.com/questions/986589/how-do-you-optionally-use-iphone-os-3-0-features-in-a-2-0-compatible-app

link. Has anybody already submitted an app to Apple which weak links frameworks from other OS versions iphone iphone sdk 3.0 share improve this question Apple has an example of how to do this specifically..

iOS 6 apps - how to deal with iPhone 5 screen size? [duplicate]

http://stackoverflow.com/questions/12396545/ios-6-apps-how-to-deal-with-iphone-5-screen-size

more pixels in height things like GCRectMake that use coordinates and just doubled the pixels with the retina non retina problem won't work seamlessly between versions as it happened when we got the Retina . And will we have to design two storyboards just like for the iPad I personally don't think Apple will require you to check..

How to detect iPhone 5 (widescreen devices)?

http://stackoverflow.com/questions/12446990/how-to-detect-iphone-5-widescreen-devices

standard if else statements if IS_IPHONE_5 else Edit Better detection As stated by some people this does only detect a widescreen not an actual iPhone 5. Next versions of the iPod touch will maybe also have such a screen so we may use another set of macros. Let's rename the original macro IS_WIDESCREEN #define IS_WIDESCREEN fabs..

Is there a documented way to set the iPhone orientation?

http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation

now appears to honor the requested orientation of the view being pushed back onto the stack. That likely means that you would need to detect older iPhone OS versions and only apply the setOrientation when it is prior to the latest release. It is not clear if Apple's static analysis will understand that you are working around..

Do I need to disable NSLog before release Application?

http://stackoverflow.com/questions/2025471/do-i-need-to-disable-nslog-before-release-application

configuration add a value to Preprocessor Macros value like DEBUG_MODE 1 Make sure you only do this for the Debug configuration and not for Beta or Release versions. Then in a common header file you can do something like #ifdef DEBUG_MODE #define DLog s ... NSLog @ p @ d @ self NSString stringWithUTF8String __FILE__ lastPathComponent..

Programmatically add custom event in the iPhone Calendar

http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar

How to customize the background color of a UITableViewCell?

http://stackoverflow.com/questions/281515/how-to-customize-the-background-color-of-a-uitableviewcell

How To Make iPhone App compatible with multiple SDK (firmware) versions

http://stackoverflow.com/questions/3027120/how-to-make-iphone-app-compatible-with-multiple-sdk-firmware-versions

To Make iPhone App compatible with multiple SDK firmware versions With iOS4 coming out soon I have already planned to include an iAd in a future update of an app of mine. I assume that this will make my app unusable for anyone.. iphone iphone sdk 3.0 compatibility ios4 share improve this question Yes you can build with the latest SDK ie 5.1 and still run on devices with earlier versions of the firmware SDK . Set your Deployment Target to the earliest version you want to be able to run with ie 3.0. You set your Base SDK to the latest version that.. You have to make sure not to call a method that is 5.0 or 4.X only when your app is on a 4.0 device. Of course you have to gracefully handle working on older versions by either using older methods or not supporting particular features that need newer SDK support. NEW w XCode 4.2 To support older devices you need to add armv6..

Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs

http://stackoverflow.com/questions/3161385/install-xcode-3-2-3-w-iphone-sdk-4-get-base-sdk-missing-cant-see-other-sdk

crashes on 3.0 devices. Fun. You can still download from Apple and install a previous Xcode version or SDK cf. here . Yes you can install multiple Xcode versions in different directories i.e. put only one version in Developer. You can use the old Xcode to test your app's compliance vs. a 3.x SDK moving the hard work to a.. YourTarget Under Architecture Base SDK choose one of the available device or simulator options iPhone 3.2 or iPhone 4.0. If you want to target previous iOS versions then in that same window under Deployment iPhone OS Deployment Target select the lowest version you want to support. Note that support for 2.x versions through.. iOS versions then in that same window under Deployment iPhone OS Deployment Target select the lowest version you want to support. Note that support for 2.x versions through the app store is deprecated. See the Readiness Checklist quote above. Base SDK location for Xcode 4 and above Follow the steps above but for Step #2 click..

Change User Agent in UIWebView (iPhone SDK)

http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk

user agent @ UserAgent nil NSUserDefaults standardUserDefaults registerDefaults dictionary See previous edits on this post if you need methods that work in versions of iOS before 4.3 5.0. Note that because of the extensive edits the following comments other answers on this page may not make sense. This is a four year old question..

Xcode 4 - “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a

my provisioning portal login and password iphone xcode certificate keychain provisioning profile share improve this question With Xcode 4.2 and later versions including XCode 4.6 there is a better way to migrate your entire developer profile to a new machine. On your existing machine launch Xcode and do this Open the..

Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?

http://stackoverflow.com/questions/7760946/is-it-possible-to-target-older-ios-versions-when-using-xcode-4-2-and-ios-5-sdk

it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK I just recently downloaded the Xcode 4.2 with iOS 5 SDK package and I immediately noticed that I am unable to use my iPhone.. and doesn't run it. I have my deployment target set to 3.0 because I am not using any features in my app above 3.0 and I want to be able to target all versions 3.0 or higher. I have all my provisioning profiles installed and up to date. I have quit and restarted xcode I have cleaned the build multiple times. I have tried.. nothing will allow me to build and run my app on my old phone with ios 4.2.1. My question is is it possible to still make apps with the new SDK work for iOS versions lower than 5 How can I be sure that my app will still run on lower iOS versions if I am unable to install them on my old phone Edit OK it looks like iOS SDK 5 dropped..

iCloud basics and code sample [closed]

http://stackoverflow.com/questions/7795629/icloud-basics-and-code-sample

approach is wrong. I should first create the file in the sandbox and then move it to the cloud. In other words Apple seems to suggest that I should have three versions of the same file at all times one in the directory of my app one in the iCloud demon directory of my device which is also accessible if offline and one in the cloud..

How do you optionally use iPhone OS 3.0 features in a 2.0 compatible app?

http://stackoverflow.com/questions/986589/how-do-you-optionally-use-iphone-os-3-0-features-in-a-2-0-compatible-app

more experience with this What are you doing to make it compile link. Has anybody already submitted an app to Apple which weak links frameworks from other OS versions iphone iphone sdk 3.0 share improve this question Apple has an example of how to do this specifically making a 2.x compatible app that uses MFMailComposeViewController......

iOS 6 apps - how to deal with iPhone 5 screen size? [duplicate]

http://stackoverflow.com/questions/12396545/ios-6-apps-how-to-deal-with-iphone-5-screen-size

that use coordinates and just doubled the pixels with the retina non retina problem won't work seamlessly between versions as it happened when we got the Retina . And will we have to design two storyboards just like for the iPad I personally don't..

How to detect iPhone 5 (widescreen devices)?

http://stackoverflow.com/questions/12446990/how-to-detect-iphone-5-widescreen-devices

else Edit Better detection As stated by some people this does only detect a widescreen not an actual iPhone 5. Next versions of the iPod touch will maybe also have such a screen so we may use another set of macros. Let's rename the original macro..

Is there a documented way to set the iPhone orientation?

http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation

of the view being pushed back onto the stack. That likely means that you would need to detect older iPhone OS versions and only apply the setOrientation when it is prior to the latest release. It is not clear if Apple's static analysis will..

Do I need to disable NSLog before release Application?

http://stackoverflow.com/questions/2025471/do-i-need-to-disable-nslog-before-release-application

Macros value like DEBUG_MODE 1 Make sure you only do this for the Debug configuration and not for Beta or Release versions. Then in a common header file you can do something like #ifdef DEBUG_MODE #define DLog s ... NSLog @ p @ d @ self NSString..

Programmatically add custom event in the iPhone Calendar

http://stackoverflow.com/questions/246249/programmatically-add-custom-event-in-the-iphone-calendar

How to customize the background color of a UITableViewCell?

http://stackoverflow.com/questions/281515/how-to-customize-the-background-color-of-a-uitableviewcell

How To Make iPhone App compatible with multiple SDK (firmware) versions

http://stackoverflow.com/questions/3027120/how-to-make-iphone-app-compatible-with-multiple-sdk-firmware-versions

To Make iPhone App compatible with multiple SDK firmware versions With iOS4 coming out soon I have already planned to include an iAd in a future update of an app of mine. I assume that.. share improve this question Yes you can build with the latest SDK ie 5.1 and still run on devices with earlier versions of the firmware SDK . Set your Deployment Target to the earliest version you want to be able to run with ie 3.0. You set.. that is 5.0 or 4.X only when your app is on a 4.0 device. Of course you have to gracefully handle working on older versions by either using older methods or not supporting particular features that need newer SDK support. NEW w XCode 4.2 To support..

Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs

http://stackoverflow.com/questions/3161385/install-xcode-3-2-3-w-iphone-sdk-4-get-base-sdk-missing-cant-see-other-sdk

still download from Apple and install a previous Xcode version or SDK cf. here . Yes you can install multiple Xcode versions in different directories i.e. put only one version in Developer. You can use the old Xcode to test your app's compliance.. choose one of the available device or simulator options iPhone 3.2 or iPhone 4.0. If you want to target previous iOS versions then in that same window under Deployment iPhone OS Deployment Target select the lowest version you want to support. Note.. under Deployment iPhone OS Deployment Target select the lowest version you want to support. Note that support for 2.x versions through the app store is deprecated. See the Readiness Checklist quote above. Base SDK location for Xcode 4 and above Follow..

Change User Agent in UIWebView (iPhone SDK)

http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk

standardUserDefaults registerDefaults dictionary See previous edits on this post if you need methods that work in versions of iOS before 4.3 5.0. Note that because of the extensive edits the following comments other answers on this page may not..

Xcode 4 - “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

http://stackoverflow.com/questions/6769345/xcode-4-valid-signing-identity-not-found-error-on-provisioning-profiles-on-a

iphone xcode certificate keychain provisioning profile share improve this question With Xcode 4.2 and later versions including XCode 4.6 there is a better way to migrate your entire developer profile to a new machine. On your existing machine..

Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK?

http://stackoverflow.com/questions/7760946/is-it-possible-to-target-older-ios-versions-when-using-xcode-4-2-and-ios-5-sdk

it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK I just recently downloaded the Xcode 4.2 with iOS 5 SDK package and I immediately noticed.. target set to 3.0 because I am not using any features in my app above 3.0 and I want to be able to target all versions 3.0 or higher. I have all my provisioning profiles installed and up to date. I have quit and restarted xcode I have cleaned.. my app on my old phone with ios 4.2.1. My question is is it possible to still make apps with the new SDK work for iOS versions lower than 5 How can I be sure that my app will still run on lower iOS versions if I am unable to install them on my old..

iCloud basics and code sample [closed]

http://stackoverflow.com/questions/7795629/icloud-basics-and-code-sample

the file in the sandbox and then move it to the cloud. In other words Apple seems to suggest that I should have three versions of the same file at all times one in the directory of my app one in the iCloud demon directory of my device which is also..

How do you optionally use iPhone OS 3.0 features in a 2.0 compatible app?

http://stackoverflow.com/questions/986589/how-do-you-optionally-use-iphone-os-3-0-features-in-a-2-0-compatible-app

doing to make it compile link. Has anybody already submitted an app to Apple which weak links frameworks from other OS versions iphone iphone sdk 3.0 share improve this question Apple has an example of how to do this specifically making a 2.x..

An error occurred uploading to the iTunes store

http://stackoverflow.com/questions/10022981/an-error-occurred-uploading-to-the-itunes-store

solution here also open terminal window and execute below lines of code cd System Library Frameworks JavaVM.framework Versions sudo ln s CurrentJDK System Library Frameworks JavaVM.framework Versions 1.5 sudo ln s CurrentJDK System Library Frameworks..

Autorotate a single UIViewController in iOS 6 with UITabBar

http://stackoverflow.com/questions/12551247/autorotate-a-single-uiviewcontroller-in-ios-6-with-uitabbar

UIInterfaceOrientation interfaceOrientation You do not need this method if you are not supporting earlier iOS Versions return self.selectedViewController shouldAutorotateToInterfaceOrientation interfaceOrientation NSUInteger supportedInterfaceOrientations..

Symbol not found: _CFXMLNodeGetInfoPtr when start Instruments

http://stackoverflow.com/questions/1281261/symbol-not-found-cfxmlnodegetinfoptr-when-start-instruments

Dyld Error Message Symbol not found _CFXMLNodeGetInfoPtr Referenced from System Library Frameworks Security.framework Versions A Security Expected in Developer Platforms iPhoneSimulator.platform Developer SDKs iPhoneSimulator3.0.sdk System Library.. iPhoneSimulator.platform Developer SDKs iPhoneSimulator3.0.sdk System Library Frameworks CoreFoundation.framework Versions A CoreFoundation I've googled but did not find a solution. Hope somebody can help me out. Thx iphone instruments share..

how to understand Crash Log of iPhone

http://stackoverflow.com/questions/2100306/how-to-understand-crash-log-of-iphone

0x31393000 0x313cafff IOKit armv7 0afabe8bf08fc163ba8e4ed614092cd3 System Library Frameworks IOKit.framework Versions A IOKit 0x313e9000 0x313eafff IOMobileFramebuffer armv7 9d9f0254b5b64ced3d58191748f3027b System Library PrivateFrameworks..

Getting “A valid signing identity matching this profile could not be found in your keychain” warning

http://stackoverflow.com/questions/2714517/getting-a-valid-signing-identity-matching-this-profile-could-not-be-found-in-yo

connected iPod Touch. Organizer also said that OS Installed on interdev 's iPod 3.1.3 7E18 Xcode Supported iPhone OS Versions 3.1.1 7C146 3.1.1 7C145 3.1 7C144 3.0.1 7A400 3.0 2.2.1 2.2 2.1.1 2.1 2.0.2 5C1 2.0.1 5B108 2.0 5A347 2.0 5A345 iOS 3.1.3..

iPhone app “has active assertions beyond permitted time”

http://stackoverflow.com/questions/3654716/iphone-app-has-active-assertions-beyond-permitted-time

0x345ec000 0x34626fff IOKit armv7 5e0169de165c2fd25a2ddac1f3e19d06 System Library Frameworks IOKit.framework Versions A IOKit 0x34629000 0x34636fff libbsm.0.dylib armv7 27ad6b3a74ce1068586eabd6a553183f usr lib libbsm.0.dylib 0x34637000 0x3463efff..

How to Manually Symbolicate iOS Crash to View Crash Logs

http://stackoverflow.com/questions/3832900/how-to-manually-symbolicate-ios-crash-to-view-crash-logs

Xcode.app Contents Developer Platforms iPhoneOS.platform Developer Library PrivateFrameworks DTDeviceKit.framework Versions A Resources symbolicatecrash Before running symbolicatecrash you may wish to go to this directory like cd Applications Xcode.app.. Xcode.app Contents Developer Platforms iPhoneOS.platform Developer Library PrivateFrameworks DTDeviceKit.framework Versions A Resources Original Answer Xcode 4.3 Path for symbolicatecrash Search from a terminal using find Developer name symbolicatecrash.. f For me this returned Developer Platforms iPhoneOS.platform Developer Library PrivateFrameworks DTDeviceKit.framework Versions A Resources symbolicatecrash How to Manually Symbolicate a Crash Log Run the symbolicatecrash command with the crash log..

How do I add a third party Framework to iPhone project?

http://stackoverflow.com/questions/505974/how-do-i-add-a-third-party-framework-to-iphone-project

app it crashes with the following error dyld Library not loaded @loader_path .. Frameworks PlausibleDatabase.framework Versions A PlausibleDatabase Referenced from Users todd Library Application Support iPhone Simulator User Applications BB3C66B2 A5BB..

How to specify decimal places when formatting NSNumber objects?

http://stackoverflow.com/questions/524827/how-to-specify-decimal-places-when-formatting-nsnumber-objects

and .23 and .20 formatter setFormat @ ##0.00 for 55.23 and 0.23 and 0.20 See Number Format String Syntax Mac OS X Versions 10.0 to 10.3 Or you can use a 10.4 formatter with setMinimumFractionDigits and setMaximumFractionDigits with both set to..

Weird crash issue on iOS 4.3

http://stackoverflow.com/questions/5295841/weird-crash-issue-on-ios-4-3

0x31027000 0x3105ffff IOKit armv7 80ae313ad69d3363935c88e51a11862d System Library Frameworks IOKit.framework Versions A IOKit 0x31070000 0x310dffff ProofReader armv7 6d843c6aecdd37ae84baa40af8ad7e65 System Library PrivateFrameworks ProofReader.framework..

AVAudioPlayer error loading file

http://stackoverflow.com/questions/7290418/avaudioplayer-error-loading-file

262 Symbol not found ___CFObjCIsCollectable Referenced from System Library Frameworks Security.framework Versions A Security Expected in Developer Platforms iPhoneSimulator.platform Developer SDKs iPhoneSimulator5.0.sdk System Library.. System Library Frameworks CoreFoundation.framework CoreFoundation in System Library Frameworks Security.framework Versions A Security Here is my code that should play a sound when my button is pressed NSString soundPath NSBundle mainBundle pathForResource..

AVFoundation iOS 5

http://stackoverflow.com/questions/7779851/avfoundation-ios-5

262 Symbol not found ___CFObjCIsCollectable Referenced from System Library Frameworks Security.framework Versions A Security Expected in Developer Platforms iPhoneSimulator.platform Developer SDKs iPhoneSimulator5.0.sdk System Library.. System Library Frameworks CoreFoundation.framework CoreFoundation in System Library Frameworks Security.framework Versions A Security When I try this in the iPhone 4.3 simulator or device it does not crash .. I've cleaned and re import the frameworks..