UIBackButtonItem setTitlePositionAdjustment not working

I'm trying to make a left insert for a custom UIBackButtonItem (there should be a place for the image), but this method just does nothing. Why?

[item setTitlePositionAdjustment:UIOffsetMake(100, 0) forBarMetrics:UIBarMetricsDefault]
+4
source share
1 answer

Try the following method:

- (void)setBackButtonTitlePositionAdjustment:(UIOffset)adjustment forBarMetrics:(UIBarMetrics)barMetrics
+5
source

Source: https://habr.com/ru/post/1531774/


All Articles