Nic Hubbard
Nic Hubbard

Reputation: 42139

UIToolBar on top of UITabBar?

When in the Camera Roll section of the Photos app, you can click the top right button to edit the photos. This replaces the bottom tab bar with three new buttons which are in a UIToolBar.

I would like to do something similar, but I cannot get my UIToolBar to be on TOP of the tab bar. Is there a way to specify the layer order? Or do I need to do something different?

Upvotes: 4

Views: 3720

Answers (1)

Justin
Justin

Reputation: 20609

You may be able to add the toolbar as a subview of your key window:

[[[UIApplication sharedApplication] keyWindow] addSubview:toolbarView]

Upvotes: 9

Related Questions