Tag Archives: apple
If you’ve used an iPad before you might be font on changing the switch on the side of the device from it’s default of “Mute” to the function of “Lock Rotation” which is pretty nifty: On the iPhone you won’t find the option in the usual place under the Settings -> General menu. Unfortunately the option doesn’t exist at all, as of iOS 6.0.1 The only way to lock and unlock rotation is by double tapping the home button so the list of applications comes up at the bottom, then sliding it to the “right” to expose an area at the left that has quick adjustment for sound and also the “Lock Rotation” option. In order to swap the switch you’ll need to JailBreak your phone and install something like Cydia that will allow you to change things like this. Why Does Apple Prevent You from changing this in the First Place? Most of the time the phone is going to be in portrait mode anyway – think about applications like mail and messaging With the volume buttons you can’t turn the sound all the way off (accidentally) so you need the extra switch to make it go to “mute”
OS X Mountain Lion has a known issue regarding hang during logon. This more commonly occurs after the computer has been sleeping, standby, or locked. There are a lot of issues that could cause this, and some people have tracked it down to different causes. However, for me, I got this error / problem message after upgrading from Snow Leopard. What I realized was that if the WiFi connection is off, the system will hang. If the WiFi / Airport is on, then everything is OK. After doing some research it appears to be related to the Bonjour service. The solution for me was to make sure I have WiFi / Airport turned on before putting the computer to sleep, locking it, etc, so that it doesn’t hang on the login screen after it wakes up.
Here are the mime types for a few popular image format including the ICNS image/icon file. If you’re wondering what you need to set the mime type as, as I was, then I believe you’ll be pleased to learn that the standard mime type should be set as image/icns. If you have thoughts otherwise leave me a comment below. Here’s the table: ##### # Image file formats ##### *.png = image/png *.jpg = image/jpeg *.gif = image/gif *.tif = image/tiff *.bmp = image/bmp *.icns = image/icns
Registered Apple Developers can now access over 100 session videos to get an in-depth look at the latest in iOS and OS X. View the videos at https://developer.apple.com/videos/wwdc/2012
The Mac App Store is the safest place for users to get software for their Mac, but we also want to protect users when they get applications from other places. Gatekeeper is a new feature in OS X Mountain Lion that helps protect users from downloading and installing malicious software. Signing your applications, plug-ins, and installer packages with a Developer ID certificate lets Gatekeeper verify that they are not known malware and have not been tampered with. Mac Developer Program members can sign applications with their Developer ID now to get ready for Gatekeeper. If you’re not already a member, join the Mac Developer Program today.
Below is my Applescript example of how to check if an application is running, such as Finder.app, VLC.app, itunes.app, or something along those lines. Quite often I need to check if an application is running as part of my applescript, and so I use this little function / subroutine in applescript to test if the application is running: on appIsRunning(appName) tell application “System Events” to (name of processes) contains appName end appIsRunning Example usage: display dialog appIsRunning(“Finder”) The above apple script example will show “true” in a popup dialog.