How do I replicate this behavior found in Notes app:
UITableViewController
with items,To demonstrate with photos:
This is an "unscrolled" list. Its easy to create such using UITableViewController
. And when you "pull" the list up, default UITableViewController
just bounces back to this state.
However, Notes allows this:
eg. After scrolling to leave a bit of space, don't have it bounce all the way back.
How do you replicate such behavior?
Updating Kirualex response:
Ideal placement: UITableViewController viewDidLoad
// Add 50 extra pixels at bottom of the list when scrolling
self.tableView.contentInset = UIEdgeInsets(top:0, left: 0, bottom: 50, right: 0)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With