是否可以始终在 UISearchBar 中显示文本光标(不仅在触摸后)?
add this
- (void)viewDidAppear:(BOOL)animated { [mySearchBar becomeFirstResponder]; [super viewDidAppear:animated]; }