1

Three20 TTPostController 具有默认的“完成”按钮用于操作。如何自定义按钮,例如“保存”

4

1 回答 1

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
于 2012-05-05T18:13:56.747 回答