私は持っていUISearchBar
ます。ユーザーが検索を押すとすぐにキーボードが消えるようにしたい...試してみresignFirstResponder
ましたが、うまくいきませんでした。任意の助けをいただければ幸いです
- (void)viewDidLoad {
[super viewDidLoad];
self.title = NSLocalizedString(@"Songs", @"Search for songs");
NSMutableArray *array = [[NSArray alloc]initWithObjects: @"Book_1", @"Book 2", @"Book _ 4", nil];
self.booksArray = array;
[array release];
search.delegate=self;
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
ありがとうTC