If you’re experiencing compressed audio when connecting to a bluetooth headset on your Mac, you can change a setting to improve the quality: Option (alt) click the bluetooth icon in the menu bar and select Open Bluetooth Explorer. When Bluetooth Explorer opens, select Utilities then Special Options from the menu bar. Finally increase the minimum bitpool to around […]
Xcode wasn’t sending builds to my iPhone, failing with the error ‘Could not read from device’. Turning the iPhone on and off didn’t work, and the same error was appearing on a different Mac so I knew it was a problem with the device. To fix it try: Synchronise your iPhone in iTunes. Delete the app you’re trying to […]
To check if an object is empty in Javascript: Object.getOwnPropertyNames(obj).length === 0; Where obj is the object you’re testing e.g.: var obj = {}; Object.getOwnPropertyNames(obj).length === 0; //true obj = {‘not’ : ‘empty’}; Object.getOwnPropertyNames(obj).length === 0; //false Or to wrap it in a function: function isEmpty(obj){ return (Object.getOwnPropertyNames(obj).length === 0); } […]
UK Holiday’s provided by Apple that you can subscribe to in iCal — webcal://ical.mac.com/ical/UK32Holidays.ics Been using this ever since I’ve had my Mac and it’s very useful. Works on iPhone and iPad as well.
If you’re trying to find your iOS app screenshots you’ve snapped in Xcode during your app development they’re located here: ~/Library/Application Support/Developer/Shared/Xcode/Screenshots Enjoy all your lovely iPad and iPhone app sn-apps..
I moved the server I host this site on recently, and it got noticeably slower (despite better hardware), it turned out my caching plugin (WP Super Cache) had stopped working, which caused a double performance hit (no caching & the failing script). My site used to be stored in /home2 but now it’s in /home , but […]
If you’re getting an EXC_CRASH (SIGABRT) error when running your PhoneGap app on iOS 4.2 (iPad only) remove the following line from your Info.plist file: Main nib file base name (iPad) Found via: #76 iOS 4.2 Crash on Launch on iPad — iPhone — phonegap
If you use MobileMe to sync and you’ve updated a contact on your Mac, but it’s not showing up on your iPhone try: Settings > Mail, Contacts, Calendars > Fetch New Data > Toggle Push off / on To force an update on your iPhone address book!