Search Bar
Search Bar Attributes Inspector Reference
Search Term and Captions
Text
The initial search string.
Access: text
.
Placeholder
The text that appears when there is no search string.
Access: placeholder
.
Prompt
The text that appears above the text field.
Access: prompt
.
Appearance
Style
The basic appearance of the search bar.
Selection |
Method |
Argument |
---|---|---|
Default |
||
Black Opaque |
||
Black Translucent |
Tint
The color of the search bar.
Access: tintColor
.
Capabilities
Shows Search Results Button
Whether the search bar displays the Search Results button.
Selection |
Method |
Argument |
---|---|---|
Unselected |
||
Selected |
Shows Bookmarks Button
Whether the search bar displays the Bookmarks button.
Selection |
Method |
Argument |
---|---|---|
Unselected |
||
Selected |
Shows Cancel Button
Whether the search bar displays the Cancel button.
Selection |
Method |
Argument |
---|---|---|
Unselected |
||
Selected |
Shows Scope Bar
Whether the search bar displays the scope bar.
Selection |
Method |
Argument |
---|---|---|
Unselected |
||
Selected |
Scope Titles
Scope Title List
The titles of the scope buttons in the scope bar.
Access: scopeButtonTitles
.
Text Input
Capitalize
Whether and when the keyboard activates the Shift key while the user types text.
Selection |
Method |
Argument |
---|---|---|
None |
||
Words |
||
Sentences |
||
All Characters |
Correction
Whether to auto-correct text the user types.
Selection |
Method |
Argument |
---|---|---|
Default |
||
No |
||
Yes |
Keyboard
The type of keyboard that appears on text input.
Selection |
Method |
Argument |
---|---|---|
Default |
||
ASCII Capable |
||
Numbers and Punctuation |
||
URL |
||
Number Pad |
||
Phone Pad |
||
E-mail Address |
Copyright © 2014 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2013-12-16