Live data from Hacker News

Customize iOS7 App Switcher with custom card view

github.com

1–10 of 28 posts

Re: Customize iOS7 App Switcher with custom card view

#2
It looks like the trick here is to hook into a global NSNotification called "UIApplicationWillBeginSuspendAnimationNotification", which is assumed to be "app will enter background", and then throw up a fullscreen UIView on top of everything.

I think this is an undocumented notification, so it's possible other iOS versions will break this feature.

Re: Customize iOS7 App Switcher with custom card view

#6
post #2

It looks like the trick here is to hook into a global NSNotification called "UIApplicationWillBeginSuspendAnimationNotification", which is assumed to be "app will enter background", and then throw up a fullscreen UIView on top of everything. I think this is an undocumented notification, so it's possible other iOS versions will break this feature.

I can't find it at the moment, but I think there is a supported way to achieve the same thing. I remember it being mentioned at WWDC to allow apps to hide sensitive data in the UI before the screenshot for the app switcher is taken.

Re: Customize iOS7 App Switcher with custom card view

#7
Maybe I'm too pessimistic, but I expected the example to be just the app's logo. Ie: oh, that's my Dropbox app because instead of the Dropbox UI, I see the big Dropbox logo (Nothing against Dropbox or their app). I also wonder if we'll ever see the app switcher card being used as advertisement space.

A little less cynically: If you can redesign a screen in the app to remove clutter and highlight the important information for the user for the app switcher, why don't you do that in the app? Sounds like it might be a better UI design. Now, I can think of many reasonable counter examples, but I'd challenge you to spend more time on the app UI where your users spend most of their time.

Re: Customize iOS7 App Switcher with custom card view

#8
I'll wager Apple will shut this down or reject apps that do this.

If you're going to do this you have to consider the ramifications of how stale the information on the card becomes over time. The example, showing a "Checked in since..." will become stale if someone checks in/out on another device.

A real iOS 7 API to update these cards in the background would be a nice addition.

Re: Customize iOS7 App Switcher with custom card view

#9
post #8

I'll wager Apple will shut this down or reject apps that do this. If you're going to do this you have to consider the ramifications of how stale the information on the card becomes over time. The example, showing a "Checked in since..." will become stale if someone checks in/out on another device. A real iOS 7 API to update these cards in the background would be a nice addition.

The only legitimate use case to me seems not displaying possibly sensitive information.

Re: Customize iOS7 App Switcher with custom card view

#10
post #8

I'll wager Apple will shut this down or reject apps that do this. If you're going to do this you have to consider the ramifications of how stale the information on the card becomes over time. The example, showing a "Checked in since..." will become stale if someone checks in/out on another device. A real iOS 7 API to update these cards in the background would be a nice addition.

The cards are already showing stale information, including Apple's own apps: http://d.pr/v/NuY5. As for background updates, there are some ways around through iOS7 background modes, but the situation could certainly be improved. I agree there should be an Apple provided "AppSwitcher Kit" framework.
Post reply on HN