ios - Swift 2.3 to Swift 3.1 Migration - EZSwipeViewController beneath StatusBar -
i in process of migrating swift2.3 project swift3.1. part of it, facing trouble swipe controller used - 'ezswipeviewcontroller
'.
i using xcode8.3, , testing on ios10.3.2 device/simulator.
before conversion, viewcontroller (with navigatiobar) displayed under status bar after conversion viewcontroller (with navigatiobar) goes beneath status bar.
i looked @ solutions , understood below work, did not work in case :-|
edgesforextendedlayout = [] extendedlayoutincludesopaquebars = false automaticallyadjustsscrollviewinsets = false
here below screenshots reference -
give view layout top constraint superview (either in storyboard or code), let relative margins. start under status bar. might have add leading, trailing , bottom constraints too, avoid upsetting autolayout.
Comments
Post a Comment