0
有一個文本字段用於在我的登錄表單中輸入PIN。當我按下「登錄」按鈕i調用以下方法:resignFirstResponder for numberpad
* (IBAction) loginBeforeAction:(id) sender {
[pin resignFirstResponder];
[progressView performSelectorInBackground:@selector(startAnimating) withObject:nil];
[self login];
}
,但我數字鍵盤不控制移動之前隱藏登錄方法。實際上,我可以看到數字填充的進度視圖。有沒有辦法先隱藏數字鍵盤然後顯示進度視圖? PLZ幫助