iphone-sdk-3.0

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

匆匆过客 提交于 2019-11-26 00:51:30
问题 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 on a firmware lower than 4.0. Is there a way to change that variables and the .xib file based on the user\'s firmware? Cheers. 回答1: 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,

How to include and use new fonts in iPhone SDK?

为君一笑 提交于 2019-11-25 19:13:53
I want to use font "MgOpen Modata" in my iphone App. But I dont see it in the font list in Property inspector. How do I include that font so that I can use it? Add the font files to your resource files Edit your Info.plist : Add a new entry with the key Fonts provided by application . For each of your files, add the file name to this array On the example below, I've added the font "DejaVu Sans Mono": In your application you can the use [UIFont fontWithName:@"DejaVuSansMono-Bold" size:14.f] . Or if you want to use it in html/css, just use font-family:DejaVu Sans Mono; Note: this is available in

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

五迷三道 提交于 2019-11-25 18:45:21
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 on a firmware lower than 4.0. Is there a way to change that variables and the .xib file based on the user's firmware? Cheers. progrmr 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 are compiling with, ie: 5.0. This way