Navigation Bar set for all Devices

Solution:
 The below code is used for set the navigation bar title correctly for all devices.

        UIBarButtonItem.appearance().setBackButtonTitlePositionAdjustment(UIOffsetMake(0, -60), for:UIBarMetrics.default)

        UINavigationBar.appearance().tintColor = UIColor.white

Comments

Popular posts from this blog

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift