After dragging a button to my scrollview, the window no longer scrolls! If I remove the button, scrolling now works.
Anyone run into this issue before?
//ScrollViewController.h
@property (weak, nonatomic) IBOutlet UIScrollView *scroller;
//ScrollViewController.m
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
[self.scroller setScrollEnabled:YES];
[self.scroller setContentSize:CGSizeMake(320, 700)];
}
Actually, it just worked after adding moving the code to viewDidLayoutSubiews.
Can someone explain WHY this works?
In viewDidLoad add:
Subclassing UIScrollView and adding code below into .m file, did solve my scrolling freeze problem under iOS 8.
Code:
This solution was found in pasta12's answer https://stackoverflow.com/a/25900859/3433059