开发者

How to send UINavigationBar Items to Back of the NavigationBar

I have a navigation bar with some items like below screenshot. I need to send those items to back of the navigation bar for making them visible behind the overlay but there should not be user Interaction like second image below after clicking开发者_如何学编程 a button:

How to send UINavigationBar Items to Back of the NavigationBar

How to send UINavigationBar Items to Back of the NavigationBar


Fake it.

Set alpha to .3, then turn set UserInteractionEnabled = NO on each of those items.

Disclaimer: never done this before, and can't test it, but this would be my first approach.


used it: [self.navigationController.navigationBar setAlpha:0.5]; [self.navigationController.navigationBar setUserInteractionEnabled:NO];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜