摘要:
//定义一个消息中心[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil]; //addObserver:注册一个观察员 name:消息名称- (void)keyboardWillShow:(NSNotification *)note {// create custom buttonUIButton *doneButton = [UIButton buttonWithTy 阅读全文
posted @ 2011-11-27 22:43 星尘的天空 阅读(234) 评论(0) 推荐(0) 编辑