Skip to content

Instantly share code, notes, and snippets.

@keicoder
Last active December 31, 2015 17:29
Show Gist options
  • Save keicoder/8021030 to your computer and use it in GitHub Desktop.
Save keicoder/8021030 to your computer and use it in GitHub Desktop.
objective-c : 지연시간 이후 키보드 팝업
// 딜레이 이후 키보드 팝 업
double delayInSeconds = 0.1;
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
[self.noteTextView becomeFirstResponder];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment