I'm writing an iPhone application that provides a button to call a phone number. I'm using code like the following to dial the number using a tel: URL in the usual way:
NSURL* contactTelURL = [NSURL
URLWithString:[NSString
stringWithFormat:@"tel:%@",
...
I'm trying to create a web-page intended to be viewed by an iPhone OS device. Is there a way to retrieve the current language or some locale-specific data when a user visits on an iPhone OS device? I want to set the web-page language according to the local or language of the device. So, how can I get the language-setting of an iPhone OS ...
UUIDs are usually 36 characters.
...
We have a web app that is being developed. It will be used on an ipod touch that is built into a tabletop. As it is basically horizontal, the ipod keeps changing its mind about which way up it is and keeps switching the orientation of the browser.
Is there a way to ask it to stop doing that? If not, is there an alternative browser that ...
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...
In the application that I am writing I am trying to write a list of fortunes for a fortune cookie out to a property list. In the simulator this works as expected and everything is great. On the iPod Touch I have it reads from said list fine but it never updates the list.
Are there any differences between updating property lists using th...
I am trying to save two strings. One string needs to be saved as type ARRAY in the pList and the second string needs to be saved as String in the Array.
I can use the code:
[dictionary setObject:(id)anObject forKey:(id)aKey>]
but it doesn't save it correctly. I can cast one of the strings as an array, but it still doesn't work right.
...
Given that for instance no sms APIs are invoked. Say I would want to port my 'notepad' app.
...
Is there a way to open up the iPod app after pressing a button in your own app?
Thanks.
...
I am developing a game for the iPhone and have at least 8 people to beta test for me using ad-hoc distribution. I created a provisioning file with all of there phones id's and built my app using that provisioning file.
I emailed out the app and that mobileprovisioning file to the people. Three of them have ipod touch devices. It seems t...
So, I was wondering if you NEED to use the Peer Picker to find peers in the new iPhone SDK 3.0. I don't really want to use it but I do want to use the peer-to-peer bluetooth connection. Is there any sample code that demonstrates the bluetooth connection without using Peer Picker? The game GKTank that Apple provides utilizes the Peer Pick...
In the 3.0 version of the iPod application (and maybe in previous versions too) when the iPod application is launched after a sync the UITabBarController appears with no tab selected...
iPhone iPod loading screen
Is there any way to accomplish the same behaviour? or is this just the Default.png displayed by the iPod app at startup?
...
I would like to check to see if I have an Internet connection on the iPhone using the Cocoa Touch libraries.
I came up with a way to do this using an NSUrl. The way I did it seems a bit unreliable (because even Google could one day be down and relying on a 3rd party seems bad) and while I could check to see for a response from some othe...
I need to know if I can programmatically connect my iPod Touch (OS 3.0) to a non apple blue tooth device, Using the Apple iPhone SDK.
I know that I can connect to other iPhone using GameKit API, But can I connect to other non apple Bluetooth devices for example an measuring device that send out real time data over blue tooth?
...
Hello, I'm designing an application that reads data to the iPod touch/iPhone that is sent to it via multicast sockets with UDP and I need to store it as a file in a document directory. Does that exist on on the iPhone or iPod Touch? I know there is NSFileHandle and NSFileManager, which is what I plan on using, to take care of reading and...
Essentially I'd like to know just host compatible are the iPhone and the iPod Touch. I would like to know if I could buy an iPod Touch (and thus save some cash) and develop iPhone apps on it or if I really should spend the extra money and put up with AT&T and get the iPhone.
What exactly is different between the two devices (other than ...
I have build my app with and ad hoc provisioning profile/distribution certificate pair following the instructions from developer program portal. Then I send the binary (.app file) and provisioning profile to one of my peer.
He drag and drop the .app and .mobileprovision files on iTunes and sync his iPod Touch. The iTunes shows the appl...
I created a simple test app with an image (as well as a button with an image) and it runs fine in the simulator. But when uploading to the iPod, none of the images appear. The button appears but with no image.
A few things worth mentioning:
- Today's massive achievement was making it beyond the code signing errors and so I have not ...
Does anyone know the recommended way to check whether the device supports specific capabilities, for example the camera. I know I can detect the device the app is on with UIDevice but I was wondering if there is a way to enumerate the device's capabilities?
...
I'm really sorry, I realize there have been several questions asked about cocos2d touch detection (including this answer which helped me a bunch), but I just can't get any of them to work. I would have commented on the answer I linked instead of asking my own question, but i don't have enough rep to leave comments.
All I want to do i...