Permalink
Browse files

Merge pull request #22 from wasigh/master

Return ScrollView to previous position after keyboard hides
  • Loading branch information...
michaeltyson committed Mar 11, 2013
2 parents 1fd096b + ffb6584 commit da5e1711b91b80a861e39e2d5e8a26bb2b21b9aa
@@ -17,13 +17,15 @@ @implementation FirstViewController
@synthesize txtBogle;
@synthesize txtSplat;
-/*
+
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
[super viewDidLoad];
+
+ [self.scrollView setContentSize:CGSizeMake(320, 520)];
}
-*/
+
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
Oops, something went wrong.

0 comments on commit da5e171

Please sign in to comment.