__________________________________
Please type your reply at the top of the email...
------------------------------------------------------
Bryan Moulton | AUG 10, 2012 06:43PM EDT
Hi Mike,
What version of XCode/MonoTouch are you using? I had success with this:
public override ViewDidLoad()
{
var bar = this.View.Subviews[3] as UISearchBar;
bar.BecomeFirstResponder();
}
Maybe some sample code would help?
Thanks!
-Bryan
------------------------------------------------------
Please, rate my reply:
http://nicereply.com/xamarin/16386693/15253
------------------------------------------------------
Mike | AUG 10, 2012 11:25AM EDT | Original message
Trying to get the search bar to respond to be the first responder have the
delegate class for searching BecomeFirstResponder does not seem to work in
viewdidload, viewdidapprear or in the delegate class.
Any help would be great
Michael Murdock
Software Engineer
(865) 482-1999
(865) 481-0921 fax
www.allmeds.com<http://www.allmeds.com>
------------------------------------------------------
For your reference this is Case #: 15253
------------------------------------------------------
Support powered by Assistly (http://www.assistly.com/)
[[202e5049c276026175ec25ff54f446bbdbdedefc-56506402]]
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch