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?
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
Last edited: