/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
[[scrollview documentView] scrollRectToVisible: CGRectMake(0, CGRectGetHeight([[scrollview documentView] bounds])-1, 1, 1)];
URL: http://elii.info/2010/11/programmatically-scroll-a-cpscrollview-to-the-bottom/