2011-11-18 74 views

回答

0

的UIButton的像這樣創建一個IBAction爲:

-(IBAction)showTextFied:(id)sender{ 
    yourTextField.editable=YES;//turn to editable mode if it's not 
    [yourTextField becomeFirstReponder];//show the keyboard 
} 
+0

感謝此 – user1049470

+0

不客氣,請記住接受答案,如果它有用。並且請記住,您應該使用Google(或SO搜索)來查找此類問題的解決方案...並閱讀documentation..cheers – Mat

相關問題