How to Have Siri Read Your Texts Aloud

I thought it was possible to have Siri read your latest text messages, but I guess I never took the time to actually find out how to do it. It’s not exactly reassuring that this tip comes from Dummies.com, but hey… at least it’s a useful tip!

How to Have Siri Read Your Texts Aloud
How to Have Siri Read Your Texts Aloud – For Dummies

The basic workflow goes something like this:

  1. Press and hold the Home button.
  2. After the short chime, say, “[Siri] Read me my texts.”

Pretty simple, huh?

#iOSDev Tip: Unblock events caused when adding subviews to your UIButtons

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

iOS Simulator QuickTip: Removing all installed applications.

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.