Three20 TTPostController具有默认的“完成”按钮以进行操作。如何自定义按钮以“保存”
答案 0 :(得分:1)
#import "CustomTTPostController.h"
@implementation CustomTTPostController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
self.navigationItem.rightBarButtonItem.title = @"Save";
}
return self;
}
@end