Skip to content

Commit e0161ed

Browse files
committed
feat(ios): add Ti.UI.SearchBar focused property
Fixes TIMOB-27711
1 parent 5e822f5 commit e0161ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

iphone/Classes/TiUISearchBarProxy.m

+5
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ - (void)removeTokenAtIndex:(id)index
237237
}
238238
#endif
239239

240+
- (NSNumber *)focused
241+
{
242+
returnNUMBOOL([[selfsearchBar] isFirstResponder]);
243+
}
244+
240245
USE_VIEW_FOR_CONTENT_HEIGHT
241246
@end
242247

0 commit comments

Comments
 (0)
close