How to import contacts into the iPhone Simulator

November 9th, 2011 Posted by: - posted under:Tutorials - 10 Comments

If you’re working with AddressBook.framework chances are you’ll want to import your own data to test against when you’re in the simulator. Without being able to sync with iTunes or iCloud you may think you’re stuck entering in addresses manually; not only is that a huge pain, but there are probably lots of edge cases already in your address book you wouldn’t necessarily think of.
Fortunately there’s another option, with a tool called iPhone Backup Extractor. Download it, run it …

READ MORE

Disable the iPhone’s Front Camera

August 23rd, 2011 Posted by: - posted under:Tutorials - 4 Comments

The iPhone 4′s front camera is limited to 640×480 resolution. Although handy for video conferencing, for some apps that’s to small to yield a usable photo. Unfortunately the UIImagePickerController class does not have an option to restrict the user from using the front camera. Although you can check the size of the photo after the user is finished, it’s not great user experience to reject it after they go through the entire process of taking a photo.
One option is to …

READ MORE