iOS7: Just go all-in

Whether you’re upgrading an existing app or building a new app, my advice is to go all-in with iOS7. Like most things in life, it’s easier said than done, but the numbers support me on this point.

If you haven’t already heard, the iOS7 adoption rates have been astronomical. According to stats from mixpanel, in just over one week, almost two-thirds of iOS users have already upgraded to iOS7. SEVEN DAYS, and we’re already over 60%. So the $64k question is: Is it really worth my time, money, and effort to support iOS6? Probably not.

For the devs out there here are a couple of code snippets to get you moving.

That Pesky Status Bar

iOS7 brings with it, full layout (i.e. edge to edge) view controllers and translucent bars (nav bars, status bars, etc.). And because a view controller’s view now extends beneath the status bar, you’ll inevitably run into situations where the status bar blends into its background – making it appear invisible (don’t worry it’s still there).

Prior to iOS7 you could set the tint/style of the status bar with the following code:

[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyle animated:BOOL]

In iOS7 the statusBarStyle (among other things) is more or less handled at the view controller level. Thus depending on your view controller’s content/color you can dynamically set the status bar’s style so that there’s contrast. Here’s how you do it:

1. Implement the following method in your view controller

- (UIStatusBarStyle)preferredStatusBarStyle

2. And any time the method (above) returns a different value, make sure you call:

- (void)setNeedsStatusBarAppearanceUpdate

NOTE: If your view controller is part of a navigation controller’s stack, then you can change the tint of the nav bar and status bar simply by changing the UINavigationBar ‘barStyle’ and/or ‘barTintColor’ properties.

Hope that helps. Happy iOS7 Coding!

Finally, FDA tells mobile health app developers what it plans to regulate

I hope this doesn’t stifle the amazing innovations that have occurred in this space. We’re so close to having an actual tricorder!

Ki Mae Heussner's avatarGigaom

More than two years after issuing its draft guidance on the regulation of mobile health apps, the U.S. Food and Drug Administration has finally released its final guidelines.

By some counts, there are about 40,000 health-related mobile apps available for download on the iPhone, Android devices or other smartphones. The vast majority of these apps exist outside the scope of F.D.A regulation, but mobile health app developers have still been waiting for the agency’s final word on where it plans to focus.

On Monday, the F.D.A. said its oversight will apply to two broad categories of apps:

  • Those intended to be used as “an accessory to a regulated medical device” – for example, an app that enables a healthcare provider to diagnose a condition by viewing a medical image from a picture archiving or communication system on a smartphone or tablet; or
  • Apps that “transform a mobile platform into…

View original post 157 more words

TIL: Microsoft Azure offers Mobile Backend as a Service

Guess who quietly entered the mBaaS arena? Microsoft! I say quietly because I had no idea and well…my RSS feed is subscribed to every technical blog known to mankind. Also, just to clarify the Azure mBaaS isn’t just for Windows, but for all the major platforms.

Who woulda thunk it?

Crazy couple of days for MSFT. Ben Affleck becomes the new CEO of MSFT, Steve Ballmer becomes the new Batman, and Azure offers mBaaS for iOS, Android, and Windows.

http://www.windowsazure.com/en-us/develop/mobile/

Placebo Buttons

Holy Cow! Buttons really are a hack!

Unknown's avatarYou Are Not So Smart

The Misconception: All buttons placed around you do your bidding.

The Truth: Many public buttons are only there to comfort you.

Placebo Button

You press the doorbell button, you hear the doorbell ring. You press the elevator button, it lights up. You press the button on the vending machine, a soft drink comes rattling down the chute.

Your whole life, you’ve pressed buttons and been rewarded. It’s conditioning at its simplest – just like a rat pressing a lever to get a pellet of food.

The thing about buttons, though, is there seems to be some invisible magic taking place between the moment you press them down and when you get the expected result. You can never really be sure you caused the soft drink to appear without opening up the vending machine to see how it works.

Maybe there’s a man inside who pulls out the can of soda and puts…

View original post 1,032 more words

I’m a sad panda

I really want to use Safari as my primary browser. It’s simple, easy to use, and integrates with all my mac devices. It also leaks memory like a sieve. Since the 10.8.3 upgrade I’ve noticed that my computer has been running a little bit slow. A quick look at the activity monitor revealed that Safari was using 2.83 GB of memory.

Really!?

Back to Chrome it is. Maybe Apple should just get out of the browser business and focus its talents on iOS.