I have a main view controller containing a table view. By clicking the cell I am navigating to the chat screen (loaded with stored messages). Chat screen should be scrolled to the bottom (last message) on load. Now Every time it looks bad scrolling to the bottom. Is there any way to preserve the state of the screen or view controller. So next time when user will visit the screen one should be already scrolled to the bottom?
Am I supposed to cache the view controller? Is this a proper/standard to cache the UIViewController
?
I dont want to know how to scroll to the bottom, but want to cache the position state of a view controller/screen.