If you don't subclass UITableViewController, there is a way to do it. Just implement setEditing:animated: in your UIViewController subclass as follows:
- (void) setEditing:(BOOL)editing animated:(BOOL)animated {
[super setEditing: editing animated: animated];
[self.tableView setEditing:editing animated:animated];
}
- (void)viewDidLoad {
[super viewDidLoad];
self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
wow!!
'예전것 > IPHONE Programming' 카테고리의 다른 글
view animation fade in out 효과주기 (0) | 2010.08.26 |
---|---|
plist 파일 활용하기 (0) | 2010.05.08 |
cocos2d 디버그 intro? 메시지 끄는 방법 (0.8.2 version) (0) | 2010.05.07 |
Xcode, Subversion Error: 155007 (Path is not a working copy directory) (0) | 2010.05.07 |
Xcode, SVN and the build dir... (0) | 2010.05.07 |