gpt4 book ai didi

iphone - 如何自定义 TTPostController 操作按钮

转载 作者:行者123 更新时间:2023-11-29 13:36:30 25 4
gpt4 key购买 nike

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

最佳答案

#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

关于iphone - 如何自定义 TTPostController 操作按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10459219/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com