如何自定义TTPostController操作按钮

时间:2012-05-05 05:41:05

标签: iphone ios

Three20 TTPostController具有默认的“完成”按钮以进行操作。如何自定义按钮以“保存”

1 个答案:

答案 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