Tag Archives: iPhone

iOS: Show Users the Reason You Require Their Location

A great, but under­used loc­a­tion fea­ture on iOS is the pur­pose prop­erty of the CLLocationManager. So many apps ask for your loc­a­tion — give your users con­fid­ence in shar­ing their loc­a­tion by telling them why you need it! Example:   locationManager.purpose = @“We’ll only use your loc­a­tion to show you local events nearby.”;   You need to do […]

Last.fm doesn’t autostart with iTunes in Lion [Fix]

Update 04/08/2011: last.fm have updated their cli­ent, either use the Check for updates.. in the app or down­load it. Still no scrob­bling but the release notes show they’ve fixed it for Lion: 1.5.4.28012 (mac) (04/08/11) —————————- * Plugin fix for iTunes 10.5 * 64bit ver­sion of the plu­gin for iTunes on Lion Original: Sadly the last.fm client […]

iOS: shouldAutorotateToInterfaceOrientation / Lock Orientation in PhoneGap

Starting in PhoneGap 0.9.5 there’s an undoc­u­mented iOS only fea­ture that allows you to handle whether the device should rotate to a par­tic­u­lar ori­ent­a­tion. It exposes the iOS Objective-C method shouldAutoro­tat­eToInt­er­face­Ori­ent­a­tion with a JavaScript func­tion shouldRo­tat­eToOri­ent­a­tion.   func­tion shouldRo­tat­eToOri­ent­a­tion (rota­tion) { switch (rota­tion) { //Portrait or PortraitUpsideDown case 0: case 180: return true; //LandscapeRight or LandscapeLeft case […]

Avoid Entering Username and Passwords After Restoring iOS

If you restore your iOS (iPhone or iPad) from a backup in iTunes, you’ll find you need to re-enter your user­names and pass­words for all your email accounts. Simply tick the Encrypt iPhone Backups option in the device sum­mary tab in iTunes and enter a pass­word to secure your backups. iTunes will now backup and restore your […]

Things That Give Me Usability Cramps — Web Forms

Usability Cramps [yoo-zuh-bill-ity kramps] n. are unpleas­ant, often pain­ful sen­sa­tions caused by unbear­able unus­able user exper­i­ence mis­takes v. usab­il­ity cramp­ing, usab­il­ity cramped, why the hell did they do this? Form Labels That Don’t Select the Fields This one mega-stresses me out; when the text label next to check­box or a label doesn’t select it when you click it: […]

Subscribe to UK Holidays in iCal / iPhone / iPad

UK Holiday’s provided by Apple that you can sub­scribe to in iCal — webcal://ical.mac.com/ical/UK32Holidays.ics Been using this ever since I’ve had my Mac and it’s very use­ful. Works on iPhone and iPad as well.

The iPhone In-App Subscriptions Small Print

From the updated iTunes Terms & Conditions: We may ask for your per­mis­sion to provide the name, email address and post­code lis­ted in your Account to the Publisher so that the Publisher can send you mar­ket­ing mes­sages about its own products in accord­ance with its pri­vacy policy. Previously iTunes / App Store pur­chases had no […]

Xcode iPhone / iPad Apps Screenshot Location

If you’re try­ing to find your iOS app screen­shots you’ve snapped in Xcode dur­ing your app devel­op­ment they’re loc­ated here: ~/Library/Application Support/Developer/Shared/Xcode/Screenshots Enjoy all your lovely iPad and iPhone app sn-apps..