2011-03-07 52 views

回答

3

使用TextView的代表,也使連接形式IB到文件的所有者textViewDelegate一個選擇器視圖。

使用本

- (BOOL)textViewShouldBeginEditing:(UITextView *)textView{ 


    yourSecondView *obj=[[yourSecondView alloc]initWithNibName:@"yourSecondView" bundle:nil]; 
[self.navigationController pushViewController:obj animated:NO]; 


[obj release]; 

} 
相關問題