Archives for category: iOS

As usual, I’m the second-to-last person to find out how to do this stuff. 

I just happened to want to send multiple photos and couldn’t figure out how – but the forum post below shows that you do it from the other end – via the Camera Roll. Then it becomes clearer…

Oh, and I edited the list of steps for iOS 5.

Is it possible to email multiple pictures? – MacRumors Forums

  1. Go to your Camera roll.
  2. Select the roll you want.
  3. Tap Share icon (on iOS 5 – top right)
  4. Select multiple photos by tapping each one you want to send via e-mail (you should get a red check mark in each photo; the “Photos Selected” count in the title will increase as the number of photos selected increases).
  5. Tap the “Share” button in the bottom left.
  6. You will have the option to share them via Email, Message, or Print.

 

This sounds like it could really be a problem for developers who store anything but truly temporary data in the Caches or tmp directory…

Cleaning… – Marco.org

Every iOS app has its own “home” directory where it can store files. Every file and directory that an app puts there, except anything in a Caches or tmp directory, gets backed up when you sync your device to iTunes.

Prior to iOS 5, the system never deleted the contents of Caches and tmp, so they were safe places for apps to put data that should always be available but could be redownloaded if the user did a complete restore or otherwise lost all data, and therefore shouldn’t be taking up space in backups and slowing down syncs.

In iOS 5, since iCloud backups are now possible, Apple has started cracking down on apps that store too much in any backed-up directory, such as Documents.

Instapaper has stored its downloaded articles in Caches for years, since I didn’t want to slow down iTunes syncing for my customers or enlarge their backups unnecessarily, and full restores don’t happen often enough for it to be a problem for most people. This new policy now locks me into using Caches: I no longer have a choice.

But in iOS 5, there’s an important change: Caches and tmp — the only two directories that aren’t backed up — are “cleaned” out when the device is low on space.

iPhone 4S clocked at 800MHz, still crushes iPhone 4 (and everyone else) as advertised | 9to5Mac | Apple Intelligence

Overall, the Apple-designed dual-core A5 chip inside iPhone 4S is estimated to run at 800MHz versus iPad 2?s 1GHz A5 processor.

Rather touching interview (edited) with Steve Wozniak about the news regarding Steve Jobs:

Wozniak remembers Steve Jobs – The Washington Post

Nice article on Macworld.com

Steve Jobs: Making a dent in the universe

Thanks, Jason.

Recently, I was having an issue I was having with subviews added to my UIButton objects that I was customizing. The buttons would behave fine if they were standard rounded rect buttons, but the moment I added a UIView and some UILabels to it, the taps stopped responding.

But I was able to resolve it, thanks to the tip provided here:

iPhone: Subviews in UIButtons block the touch, unless…

The solution boils down to something very simple and it makes sense when you think about it, but at first it seems strange:

  • All you need to do is set userInteractionEnabled and exclusiveTouch to NO on the items that you want to add as subviews to your UIButton (and don’t set those properties to NO for the UIButton itself).

Once you turn off user interaction and exclusive touch properties on the subviews, your events will be sent to the underlying button (or at least that’s how I like to think of it happening…).

I initially read the post wrong and set them to YES and couldn’t figure out why it wasn’t working. Then I went back and looked at the comments, which pointed out where I went wrong.

Hope this helps!

///eks

Handy tip of the day:

To scroll to the top of a UITextView, simply use the following method:

[textView setContentOffset:CGPointMake(0.0, 0.0) animated:YES];

Hope it helps!

One of the more annoying things about iOS is its notification system. Modal alerts are so arcane, intrusive and annoying, I am actually shocked that they are still the standard method of notification in iOS as of version 4…

Looks like there are some underground movements (requiring jailbreaking, of course) to change that. Here’s a little commentary by Sebastiaan de With (@cocoia) that I found interesting:

Cocoia Blog » Getting Notified:

There’s some discussion on Apple-centric and tech news websites about a video that’s doing the rounds with a new approach to notifications for iOS. While the system in the video is really nothing new (there’s been at least one alternative notification system in the App-Store-for-jailbroken-phones “Cydia” since 2010) it is getting a lot of attention, presumably because iOS users are quite satisfied with almost all the interactions of the OS except those dang stacking modal dialogs that interrupt your game of Angry Birds every time you get a text message.

So while I am not a jailbreaker (and never will be), my hope is that Apple and its designers and developers on the iOS team will take notice of this and do something about it in a future version of iOS.

We shall see…

It was time to clean house a bit, so I wanted to remove all the currently installed applications in the iPhone Simulator. Turns out there’s a very simple way to do it…

1. With the iPhone Simulator running, click on the iOS Simulator application menu.

2. Click “Reset Contents and Settings…”.

- A confirmation dialog will appear warning that “all installed applications, content, and settings will be moved to the trash.”

3. Click “Reset.”

All the applications will be removed and you can proceed with a clean slate.