当我点击textview
感谢您的帮助
答案 0 :(得分:3)
使用textView Delegate并将表格IB连接到textViewDelegate的文件所有者。
使用此
- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{
yourSecondView *obj=[[yourSecondView alloc]initWithNibName:@"yourSecondView" bundle:nil];
[self.navigationController pushViewController:obj animated:NO];
[obj release];
}