UIBarButtonItem Without Borders

How to create a UIBarButtonItem without any border, but only a shortcut inside?

EDIT

I tried something like this with no luck:

UIBarButtonItem* langButton = [[UIBarButtonItem alloc] initWithTitle:@"EN" style:UIBarButtonItemStylePlain target:self action:@selector(changeLang)]; self.navigationItem.leftBarButtonItem = langButton; [langButton release]; 
+4
source share
1 answer

Do the same as the next guy:

fooobar.com/questions/344031 / ...

But change it so that instead of the image button you create a standard text button.

+3
source

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


All Articles