Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tateu

macrumors 6502
Original poster
Jan 27, 2012
358
1
I'm working on a flip switch toggle to remove badges from icons. Right now, the toggle pops up a UIAlertView with 2 fixed buttons (remove all, cancel) and dynamically generated buttons of all the apps that currently have badges. The problem is that there can be too many dynamically generated buttons and UIAlertView doesn't scroll so it can grow larger than the screen size and get cut off.

I'd like to use a UIActionSheet, which can scroll, but it needs a delegate and a view to attach to but I can't figure out if a flip switch has those.

Does anyone have any suggestions? Maybe the UIActionSheet can be attached to springboard? And if so, how?
 

Attachments

  • image.jpg
    image.jpg
    88.1 KB · Views: 54
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.