Programmatically scroll a CPScrollView to the bottom

/ Published in: Objective C
Save to your folder(s)

Copy this code and paste it in your HTML
  1. [[scrollview documentView] scrollRectToVisible:
  2. CGRectMake(0, CGRectGetHeight([[scrollview documentView] bounds])-1, 1, 1)];


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.