SWRevealViewController icon indicating copy to clipboard operation
SWRevealViewController copied to clipboard

'automaticallyAdjustsScrollViewInsets' is deprecated: first deprecated in iOS 11.0

Open udayBabariya opened this issue 6 years ago • 1 comments

Any Only heaving any solution for this warning?

Warning : 'automaticallyAdjustsScrollViewInsets' is deprecated: first deprecated in iOS 11.0 - Use UIScrollView's contentInsetAdjustmentBehavior instead

` if ( [controllerView isKindOfClass:[UIScrollView class]] )
    {
        BOOL adjust = controller.automaticallyAdjustsScrollViewInsets;
        
        if ( adjust )
        {
            [(id)controllerView setContentInset:UIEdgeInsetsMake(statusBarAdjustment(_contentView), 0, 0, 0)];
        }
    }`

udayBabariya avatar Jul 24 '18 01:07 udayBabariya

https://github.com/John-Lluch/SWRevealViewController/issues/763#issuecomment-396318590

iDevelopper avatar Jul 24 '18 04:07 iDevelopper