{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/8577","repository_url":"https://api.github.com/repos/lionheart/openradar-mirror","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/8577/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/8577/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/8577/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/8577","id":147392012,"number":8577,"title":"22685788: UISearchBar: want auto select mode","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:enhancement","name":"classification:enhancement","color":"207de5"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/4","html_url":"https://github.com/lionheart/openradar-mirror/milestones/iOS%20SDK","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/4/labels","id":1237418,"number":4,"title":"iOS SDK","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":1374,"closed_issues":3,"state":"open","created_at":"2015-08-03T02:08:31Z","updated_at":"2016-04-11T11:02:40Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-04-11T11:02:40Z","updated_at":"2016-04-11T11:02:40Z","closed_at":null,"body":"#### Description\n\nThe system-wide iOS search field auto-selects previously entered text. So when the user enters search again the previously entered search text is still available but pre-selected, allowing the user to enter a new search without having to delete the old text manually.\n\nI want that behavior for my own apps. I'd like to simply enable auto-select mode by setting a property on UISearchBar.\n\nWhile I can use \n\n[[UIApplication sharedApplication] sendAction:@selector(selectAll:) to:nil from:nil forEvent:nil]\n\nto auto-select the text of a focused UISearchBar, the behavior is slightly different: The text selection displays blue begin and end marks.\n\n-\nProduct Version: 9.0 GM\nCreated: 2015-09-14T17:19:31.114300\nOriginated: 2015-09-14T19:19:00\nOpen Radar Link: http://www.openradar.me/22685788"}}