UISearchBar のテキストをプログラムで設定しようとしていますが、何らかの理由で機能しません。
[searchController.searchBar setText:@"test"];
NSLog(@"%@", searchController.searchBar.text);
これは null を返します。
UISearchBar のテキストをプログラムで設定しようとしていますが、何らかの理由で機能しません。
[searchController.searchBar setText:@"test"];
NSLog(@"%@", searchController.searchBar.text);
これは null を返します。