UIBarButtonItem appearance in swift 4 and swift 5
Solution:
Swift 4:
Swift 4:
UIBarButtonItem.appearance() .setBackButtonTitlePositionAdj ustment(UIOffsetMake(-200, -5), for: .default)
swift 5:
UIBarButtonItem.appearance() .setBackButtonTitlePositionAdj ustment(UIOffset(horizontal: -200, vertical: -5), for: .default)
Comments
Post a Comment