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:...];
Related Contents:
- How do I auto size a UIScrollView to fit its content
- 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
- Scrolling with two fingers with a UIScrollView
- How to set content size of UIScrollView dynamically
- AES Encryption for an NSString on the iPhone
- Objective-C categories in static library
- Convert HTML to NSAttributedString in iOS
- Syntax help – Variable as object name [duplicate]
- Get push notification while App in foreground iOS
- Subclass UIButton to add a property
- OpenGL Texture Coordinates in Pixel Space
- iOS unique user identifier [duplicate]
- Display clearColor UIViewController over UIViewController
- `[super viewDidLoad]` convention
- Calculate new coordinate x meters and y degree away from one coordinate
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- Open Source Cocoa/Cocoa-Touch POP3/SMTP library?
- Select tableview row programmatically
- Stop UIWebView from “bouncing” vertically?
- How to fill background image of an UIView
- iTunes Connect API [closed]
- Embedding YouTube videos on
- Converting & to & in Objective-C [duplicate]
- Adjusting the volume of a playing AVPlayer
- Interaction beyond bounds of UIView
- Draw part of a circle
- How to add more details in MKAnnotation in iOS
- iPhone ivar naming convention [duplicate]
- SQLite Exception: SQLite Busy
- Removing a view controller from UIPageViewController
- Best way to save data on the iPhone
- UIButton not showing highlight on tap in iOS7
- Break on EXC_BAD_ACCESS in Xcode?
- Simultaneous gesture recognizers in Iphone SDK
- NSArray Equivalent of Map
- What does an underscore signify in the name of a member variable in Objective-C? [duplicate]
- Finding distance from RSSI value of Bluetooth Low Energy enabled device
- Simple iPhone motion detect
- How to change the format of date in date picker
- How to detect that animation has ended on UITableView beginUpdates/endUpdates?
- ARC forbids Objective-C objects in structs or unions despite marking the file -fno-objc-arc
- NSString retainCount is 2147483647 [duplicate]
- Round double value to 2 decimal places
- Best Cocoa/Objective-C Wrapper Library for SQLite on iPhone [closed]
- Core-Data iPhone: could not locate an NSManagedObjectModel
- Method Swizzling in iOS 5?
- Adding Images to UIActionSheet buttons as in UIDocumentInteractionController