Closed AlexanderZubkov closed 9 years ago
I even tried
(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation { UIRefreshControl *bottomRefreshControl = [UIRefreshControl new]; [bottomRefreshControl addTarget:self action:@selector(refreshBottom) forControlEvents:UIControlEventValueChanged];
self.tableView.bottomRefreshControl = bottomRefreshControl; }
But with no luck... Any idea?
Thank you, Alex!
I’ve got a bug, and I’ll fix it soon. Maybe tomorrow.
Nick.
On 13 марта 2015 г., at 14:11, AlexanderZubkov notifications@github.com wrote:
I even tried
(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration { self.tableView.bottomRefreshControl = nil; }
(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation { UIRefreshControl *bottomRefreshControl = [UIRefreshControl new]; [bottomRefreshControl addTarget:self action:@selector https://github.com/selector(refreshBottom) forControlEvents:UIControlEventValueChanged];
self.tableView.bottomRefreshControl = bottomRefreshControl; }
But with no luck... Any idea?
— Reply to this email directly or view it on GitHub https://github.com/vlasov/CCBottomRefreshControl/issues/8#issuecomment-78899333.
Thank you, Nick! Really waiting for it!
Thank you for your patience. I've deeply reworked whole implementation. Now it works way better and smoother. Autolayout bug was also fixed. Please welcome version 0.4.1
UITableView changes it's frame on orientation change but refresh control does not. I use auto layout. Any idea how to change control's position or make it follow tableview?