Create a UIScrollView
suggest changeCreate an instance of UIScrollView
with a CGRect
as frame.
Swift
let scrollview = UIScrollView.init(frame: CGRect(x: 0, y: 0, width: 320, height: 400))
Objective-C
UIScrollView *scrollview = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 320, 400)];
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents