Instead of:
UIScrollView *scroll = [UIScrollView alloc];
do this (setting the frame to however big you want the scroll view to be):
UIScrollView *scroll = [[UIScrollView alloc] initWithFrame:...];
More Related Contents:
- UILabel updating stops during scrolling UIScrollView
- UIScrollView – showing the scroll bar
- View frame changes between viewWillAppear: and viewDidAppear:
- How to scroll UITableView to specific position
- How do I auto size a UIScrollView to fit its content
- Scrolling with two fingers with a UIScrollView
- How to set content size of UIScrollView dynamically
- How to use UITableView inside UIScrollView and receive a cell click?
- Learning the basics of UIScrollView
- How to automatically size UIScrollView to fit the content
- Syntax help – Variable as object name [duplicate]
- iOS – Get CPU usage from application
- UITableViewCell expand on click
- this class is not key value coding-compliant for the key view [duplicate]
- Objective-C: Find numbers in string
- HTML Content fit in UIWebview without zooming out
- Change position of UIBarButtonItem in UINavigationBar
- Is it possible to reverse-engineer my iPhone application?
- Add UIView Above All Other Views, Including StatusBar
- Accessing Method from other Classes Objective-C
- Storing image in plist
- How do you determine spacing between cells in UICollectionView flowLayout
- how to pass variable arguments to another method?
- UINavigationController Force Rotate
- iOS 5 does not allow to store downloaded data in Documents directory?
- COMET (server push to client) on iPhone [closed]
- How much does it cost to develop an iPhone application? [closed]
- Deactivate UIScrollView decelerating
- Iphone UITextField only integer
- Limiting the scrollable area in UIScrollView