ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 163 forks source link

Is there any alternative of below deprecated? #222

Open StellarKuldeep opened 6 years ago

StellarKuldeep commented 6 years ago
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
                                duration:(NSTimeInterval)duration {
    isLocked = YES;
}

- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
    [self.pageViewController.view layoutSubviews];
    isLocked = NO;
}