Add a Search Bar to Your Xamarin Apps in iOS 11

BradUmbaughBradUmbaugh USMember, Xamarin Team Xamurai

We've just added a blog post about adding search bars in iOS 11. Check it out, and let us know if you have any feedback or questions!

Posts

  • jvetteljvettel Member

    Great blog post! What do I have to do to achieve the same looks with Xamarin.Forms? I'm only able to add a SearchBar below the NavigationBar, so it stays there the entire time. Combined with the Large Titles in iOS 11, this means a huge waste of space. Can I set a SearchBar as a ToolbarItem or so?

  • BradUmbaughBradUmbaugh USMember, Xamarin Team Xamurai

    Hi @jvettel, great question. I haven't spent much time trying to implement this in Forms, but I'd probably start by looking at a custom renderer.

    Here's an iOS custom renderer navigation page (written by @BrandonMinnick) that might be useful as a starting point.

    Also, it looks like there's a discussion about this on another Xamarin Forums thread.

Sign In or Register to comment.