Ok, so I use UIScrollView in my application. I placed scrollview in the viewcontroller in the bulletin board. I have several buttons and several shortcuts. But when I try to scroll down to the buttons below, scrollview just bounces back. This is the code I used:
In viewcontroller.h:
@interface ViewController : UIViewController{ IBOutlet UIScrollView *hovscroll; } @end
In viewcontroller.m:
@interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; [hovscroll setScrollEnabled:YES]; [hovscroll setContentSize:CGSizeMake(320, 1500) ]; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; } @end
source share