Scrollview like foursquare with maps + list

后端 未结 4 1880
深忆病人
深忆病人 2021-01-20 23:48

I\'m trying to understand how can I achieve a scrollview like Foursquare app uses. The map y position follows the revenue list when scrolling.

相关标签:
4条回答
  • 2021-01-21 00:16

    My 2 cents: UITableView + MKMapView. Add observer on the tableView scroll view position and change map bounds accordingly when the observer fire.

    Use contentInset in the tableView to reveal the map underneath. Use section headers for the "Happening near chinatown" with transparent background

    etc..

    0 讨论(0)
  • 2021-01-21 00:16

    UIScrollview with MKMapView + UITableView.

    0 讨论(0)
  • 2021-01-21 00:19

    After a lot of digging, To achieve this effect, you use a function called setPadding();

    Android maps - Markers Bounds at the center of top half of map area

    0 讨论(0)
  • 2021-01-21 00:34

    This looks very interesting. Create Parallax effect between UITableView & UIMapView like FourSquare. I hope it will be useful ;)

    https://github.com/stefanlage/SLParallaxController

    0 讨论(0)
提交回复
热议问题