ipod-touch

How to get iPod Touch simulator in Xcode 6.1

拥有回忆 提交于 2019-12-01 22:26:18
My game app works on all iPhone's and all iPad's. I also want it to work on all iPod Touches. There is no iPod Touch simulator in Xcode 6.1. So how do I work on it? You have to keep in mind, that the iPhone simulator is just a simulator. It is not the real device. The reason why there is no iPod Touch simulator is, because there would be no difference between the iPhone 5 and the current iPod Touch, since both have the same screen size and both have a 32 Bit architecture. They may have different hardware, but that doesn't matter You can however, if you want to, make a new simulator based on

Is there a (legal) way to capture the ENTIRE screen under iOS?

筅森魡賤 提交于 2019-12-01 18:15:50
I've tried several techniques to capture a screenshot of an app from within that app. None of the techniques appear to capture the status bar -- it ends up being black. There apparently was once a way to do this, but that interface is internal and Apple will not let you use it. Any ideas? Note: This is an attempt to solve this problem , where I need to determine if airplane mode is on or off (and no, simply knowing if the network is reachable is not sufficient). However, it would seem that this question is of more general interest, and is distinct from that question. Your actual issue,

Is there a (legal) way to capture the ENTIRE screen under iOS?

回眸只為那壹抹淺笑 提交于 2019-12-01 18:02:05
问题 I've tried several techniques to capture a screenshot of an app from within that app. None of the techniques appear to capture the status bar -- it ends up being black. There apparently was once a way to do this, but that interface is internal and Apple will not let you use it. Any ideas? Note: This is an attempt to solve this problem, where I need to determine if airplane mode is on or off (and no, simply knowing if the network is reachable is not sufficient). However, it would seem that

My App shows only a black screen on iPod

浪尽此生 提交于 2019-12-01 16:39:42
My app is in productions an works correctly in all devices except the iPod touch, which only shows a black screen when start the app. Does any body knows which could be the problem? The iPod touch is running with the 4.2.1 iOS version. Thnks paulrehkugler As @ ValentiGoClimb mentioned in the comment , Xcode has bad defaults when generating the Info.plist file; it only sets the Storyboard keys for iPads and iPhones, not iPod Touches. <key>UIMainStoryboardFile~ipad</key> <string>iPadStoryboardFileName</string> <key>UIMainStoryboardFile~iphone</key> <string>iPhoneStoryboardFileName</string> I

How can I detect if headphones are connected to an iPod touch G1?

耗尽温柔 提交于 2019-12-01 13:31:33
There are many articles on how to detect if a microphone is connected to an iPod touch G2 via AudioSessionGetProperty / kAudioSessionProperty_AudioInputAvailable , but I have not seen any articles related to detection of headphones connected to an iPod touch G1. To review: iPod touch G2 hardware differs from iPod touch G1 hardware in the following ways: iPod touch G2 has an internal speaker iPod touch G2 is able to use microphone off of headphone port I have an app that needs to play sound to be useful and I want to be nice and have a detector that shows that the app is useful once they

Apple Devices with magnetometer?

别等时光非礼了梦想. 提交于 2019-12-01 13:22:44
Which apple mobile devices have a magnetometer? I thought that the iPod touch had one but I think I am mistaken. Do all devices with GPS have a magnetometer? Do all devices with a magnetometer have a GPS? The iPhone 3GS and iPhone 4. An easy way to check is with this class method . I wrote a little app and ran it on a few devices I had lying around, and it looks like only iPhone 3GS+ (so iPhone 4 as well) have one right now, although I've seen sketchy evidence that pieces of the Compass app exist in touches. 来源: https://stackoverflow.com/questions/4227272/apple-devices-with-magnetometer

How can I detect if headphones are connected to an iPod touch G1?

独自空忆成欢 提交于 2019-12-01 11:42:59
问题 There are many articles on how to detect if a microphone is connected to an iPod touch G2 via AudioSessionGetProperty / kAudioSessionProperty_AudioInputAvailable , but I have not seen any articles related to detection of headphones connected to an iPod touch G1. To review: iPod touch G2 hardware differs from iPod touch G1 hardware in the following ways: iPod touch G2 has an internal speaker iPod touch G2 is able to use microphone off of headphone port I have an app that needs to play sound to

Apple Devices with magnetometer?

倾然丶 夕夏残阳落幕 提交于 2019-12-01 09:51:51
问题 Which apple mobile devices have a magnetometer? I thought that the iPod touch had one but I think I am mistaken. Do all devices with GPS have a magnetometer? Do all devices with a magnetometer have a GPS? 回答1: The iPhone 3GS and iPhone 4. 回答2: An easy way to check is with this class method. I wrote a little app and ran it on a few devices I had lying around, and it looks like only iPhone 3GS+ (so iPhone 4 as well) have one right now, although I've seen sketchy evidence that pieces of the

Record AVAudioPlayer output using AVAudioRecorder

强颜欢笑 提交于 2019-12-01 08:14:42
In my app the user plays a sound by pressing a button. There are several buttons which can be played simultaneously. The sounds are played using AVAudioPlayer instances. I want to record the output of these instances using AVAudioRecorder. I have set it all up and a file is created and records but when I play it back it does not play any sound. It is just a silent file the length of the recording. Does anyone know if there is a setting I am missing with AVAudioPlayer or AVAudioRecorder? Thanks It is not possible to record AVAudioPlayer output as input to AVAudioRecorder for recording. You can

Record AVAudioPlayer output using AVAudioRecorder

会有一股神秘感。 提交于 2019-12-01 07:21:11
问题 In my app the user plays a sound by pressing a button. There are several buttons which can be played simultaneously. The sounds are played using AVAudioPlayer instances. I want to record the output of these instances using AVAudioRecorder. I have set it all up and a file is created and records but when I play it back it does not play any sound. It is just a silent file the length of the recording. Does anyone know if there is a setting I am missing with AVAudioPlayer or AVAudioRecorder?