On Wed, Jan 11, 2017, at 10:17 PM, Rick Mann wrote:
> I'm creating and displaying a UISearchBar without using
> UISearchController (it gets in the way).
> 
> My UISearchBar is installed in the storyboard via IB. I animate it into
> position in my UI when the user taps a button. However, the Cancel button
> is disabled. I pre-load the search bar with the text of the last search,
> so the button should be enabled.
> 
> Before, when I was using UISearchController, it was enabled. Now it's
> not, until the user taps on it!
> 
> Any idea how to enable it? Thanks!

Sorry, Rick. There is no supported way to enable a UISearchBar’s Cancel
button while it isn’t active.

--Kyle Sluder

> 
> -- 
> Rick Mann
> rm...@latencyzero.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to