ipod-touch

iPod Touch 4G thinks it's an iPad

风流意气都作罢 提交于 2019-12-01 05:15:39
问题 I have a universal app built that runs and works perfectly on an iPad, iPhone 4G, 3GS & 3G, but when run on an iPod Touch 4G it won't run properly. I don't have a iPod Touch to test, but I have been told by a beta tester that it installs on the device fine, but when run it shows the Default.png from the iPad version of the app squashed into the screen when launched, then just goes black from there. When the app is force quit (using the app switcher) and re-launched it does the same thing

Xcode Set Compatible Devices

亡梦爱人 提交于 2019-12-01 00:12:37
I have released my first app on the iOS App Store a few days ago and told my friends to download it. However, they have told me that it is not compatible with the iPod Touch 2G running iOS 4.2.1. Why is this? And how do I fix this? I am using Xcode 4.2 with iOS SDK 5.0, but my deployment target is iOS 4.0, so it should work. On the iTunes page for my app, it says: Requirements: Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPod touch (3rd generation), iPod touch (4th generation) and iPad. Requires iOS 4.0 or later. How do I include the iPod Touch 2G in this list? I have an iPod 3G as one of

iPhone/iPad. How do I launch an app from link in Safari?

北慕城南 提交于 2019-11-30 21:45:16
I have an app that I want to be launchable either explicitly when tapped or when a parameterized URL is clicked on on a webpage in Safari running on iPad or iPhone. Can someone sketch the approach for me and/or point me to the relevant docs? Thanks so much. Cheers, Doug Jaanus You basically need to register your own URL scheme in Info.plist, and your app becomes launchable. If you want to fine-tune the app behavior when launching from an URL, you can parse the parameters that are passed to your app as part of the URL, and do whatever you wish based on those. Here’s the official Apple guide

iOS and unarchiving xib files

大憨熊 提交于 2019-11-30 21:09:27
I'm finishing off an app for iOS 3.0 and up to run on the iPhone and iPod Touch. It's working fine on iOS4.0 and up, but when I backtest it on a second generation iPod Touch running iOS 3.0 the launch image shows and I'm met with the following: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x4e, 0x49, 0x42, 0x41, 0x72, 0x63, 0x68, 0x69)' 2012-01-15 09:35:53.025 MyApp[3026:207] Stack: ( 808001701, 805397928, 807551015, 807550919, 810902709, 815043196, 815042704, 814682908,

How much memory does iOS allow apps to use?

雨燕双飞 提交于 2019-11-30 19:59:08
I am making an app that uses a lot of fairly big image files. I notice it crashes when they all get loaded on my iPhone 3G (128 mb ram), but not when I test it on a 3rd gen iPod (256 mb ram). So I assume there must be some percentage that is allowed for each app to use? My app has about 30 images at about 440k each loaded so 13.2mb. I didn't think that would be too much. They need to be swapped in and out pretty quickly, so releasing the ones not in use from memory doesn't seem like a good idea... EDIT: The app swaps images based on the way the phone is being tilted. It's 30 images from a 3D

Is it possible to access iPhone/iPod Touch music stats through the SDK?

早过忘川 提交于 2019-11-30 16:40:17
I've seen it's possible to access musics and playlists and even play them. But is it possible to access the statistics attached to each music? Like play count, stars, dates and times of listening? Querying the media library ... MPMediaQuery *query = [[MPMediaQuery alloc] init]; [query addFilterPredicate: [MPMediaPropertyPredicate predicateWithValue: @"Moribund the Squirrel" forProperty: MPMediaItemPropertyArtist]]; // Sets the grouping type for the media query [query setGroupingType: MPMediaGroupingAlbum]; NSArray *albums = [query collections]; for (MPMediaItemCollection *album in albums) {

Is there any physics engine SDK for iPhone/iPod touch and iPad?

岁酱吖の 提交于 2019-11-30 15:34:10
问题 Is there any physics engine SDK for iPhone/iPod touch and iPad? 回答1: The Chipmunk engine is written in C, and they've even provided an Objective-C wrapper. The Box2D engine is written in C++, and so it can be compiled/linked into an iPhone OS project by telling Xcode to treat it as Objective-C++. Both are excellent. (I've only extensively used Box2D, but I've heard great things about Chipmunk too.) 回答2: I've used the SIO2 engine for developing games on the iPhone, and it uses the open-source

Is there any physics engine SDK for iPhone/iPod touch and iPad?

旧城冷巷雨未停 提交于 2019-11-30 15:06:51
Is there any physics engine SDK for iPhone/iPod touch and iPad? The Chipmunk engine is written in C, and they've even provided an Objective-C wrapper. The Box2D engine is written in C++, and so it can be compiled/linked into an iPhone OS project by telling Xcode to treat it as Objective-C++. Both are excellent. (I've only extensively used Box2D, but I've heard great things about Chipmunk too.) I've used the SIO2 engine for developing games on the iPhone, and it uses the open-source physics engine bullet . I'm not sure if all the soft-body features are available, but certainly the rigid body

How to configure iOS app to work on specific devices?

拜拜、爱过 提交于 2019-11-30 06:47:40
I am developing iOS app with ZBar SDK for QR-codes scan. Here ZBar SDK creators tell us that Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely to ever support it. So I have added auto-focus-camera key to the Required Device Capabilities section of my plist. All is great, except one thing - iPad 2 & iPod Touch 4th Gen doesn't have auto focus camera, but still are able to use my ZBar SDK code to scan QR-codes. But my auto-focus-camera key doen't allow users with iPad 2 and iPod Touch 4th Gen to

iPhone/iPad. How do I launch an app from link in Safari?

半城伤御伤魂 提交于 2019-11-30 05:27:09
问题 I have an app that I want to be launchable either explicitly when tapped or when a parameterized URL is clicked on on a webpage in Safari running on iPad or iPhone. Can someone sketch the approach for me and/or point me to the relevant docs? Thanks so much. Cheers, Doug 回答1: You basically need to register your own URL scheme in Info.plist, and your app becomes launchable. If you want to fine-tune the app behavior when launching from an URL, you can parse the parameters that are passed to your