UIScrollView を使用して下にスクロールして放すと、下にスクロールした場所にとどまらず、一番上に跳ね返ります
http://www.joules.name/ScreenShot2013-01-25at19.11.45.png
http://joules.name/ScreenShot2013-01-25at19.04.12.png
ViewController.h で
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
{
IBOutlet UIScrollView *scoller;
}
@end
そしてViewController.mで
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidAppear
{
[scoller setScrollEnabled:YES];
[scoller setContentSize:CGSizeMake(320, 1000)];
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end