Quantcast
Viewing all articles
Browse latest Browse all 8068

Replicate iOS 7 Native Message App - SearchBar behaviour

Application Type: iOS/andriod

Hi All,

I am currently developing an app which should work for android and iOS. Basically the idea is to have the searchBar hidden underneath the NavigationWindow (I am aware NavigationWindow is only for iOS however I will be adding a top navigation to android shortly. ) Then once i scroll all the way to the top of my view the searchBar should become visible. This is the exact behaviour currently visible on the native messages app on iOS.

At the moment i place the searchBar at the top of my view which is inside my scrollView, then i plug into the postlayout event and use the scrollTo method which will hide the searchBar as intended since i've moved the starting position of the content.

Whilst this works, i get a scroll affect initially when the app loads which im trying to prevent. So I see the searchBar sliding up for a split second.

My app's structure goes something like:

NavigationWindow searchBar Image View ScrollableView tableView

I have a good feeling that the message app is actually a tableView with a searchBar attached.

Please note I am looking for a fix for both iOS and android, if this requires major structural changes im happy to hear them, after all its a learning process :)

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>