2011-02-07 6 views

答えて

2

UIBarButtonSystemItemActionを使用していただきありがとうございます:

UIBarButtonItem *sendMailButton = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:self action:@selector(btnActionPressed)] autorelease]; 

そして忘れてはいけない:

- (IBAction)btnActionPressed { 
// code 
} 
+0

作品罰金を。 Thnaks。 – Dilshan

関連する問題