Want same behavior as the photo button in the SMS app
I am working on a sign up page and would like to ha开发者_C百科ve a profile picture section where when you click the image a panel with a "Take Photo", a "Choose Photo", and a "Cancel" button slides up from the button... just like what happens when you click the little camera button while writing an SMS.
Do I have to build it all from scratch myself? Or?
You are looking for UiActionSheet.
Here is a tutorial which explains how to program a uiActionSheet.
精彩评论