iphone - Sending MMS and Email from within app -


how 1 pop menu selection email, mms etc used when image selected on iphone.

menu

another thing, how can 1 add things menu e.g. facebook share, twitter share? name of menu?

this menu called uiactionsheet , write code determines presented yourself. handle tap through actionhandler , can use code below present menu. can enter own nsstring facebook, twitter, etc.

uiactionsheet *actionsheet = [[uiactionsheet alloc] initwithtitle: [[nsstring alloc] initwithformat: @"how should something?"] delegate: self cancelbuttontitle: @"cancel" destructivebuttontitle: nil  otherbuttontitles: @"choice 1", @"choice 2", @"choice 3", nil];  [actionsheet setactionsheetstyle: uiactionsheetstyleblacktranslucent];  // need in main view otherwise "z-order" tab bar takes      precedence , "covers up" lower half of  // cancel button [actionsheet showinview: [self view]]; [actionsheet release]; 

you able register delegate notification handle button tapped using uiactionsheetdelegate

- (void)actionsheet:(uiactionsheet *)actionsheet clickedbuttonatindex:(nsinteger)buttonindex 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -