Reputation: 73031
I want to create the UI above. Specifically, a taller toolbar. But I need to do so in a way that the underlying UI (i.e. content view) displays accordingly (i.e. underneath the toolbar.
I am familiar with the new UIAppearance options in iOS 5. However, these seem to be more about skinning, not adjust sizes.
I imagine a could make the UI elements and add them to the window
? But wouldn't that cause sizing issues with the content views. Seems hacky…
So, what would be the way to achieve this UI. Ideally supporting back to iOS 4.2. But an iOS 5 solution is welcome.
Upvotes: 1
Views: 1803
Reputation: 9876
Since Apple allow you to customized their Controls, the only way to customize is to use customized controls. One way is to use Custom-UIToolbar derived from UIView.
Upvotes: 0
Reputation: 502
I'm not pretty sure what functions you want to replicate/make, but you can change the height of your toolbar with this:
[toolBar setFrame:CGRectMake(0, 50, 320, 60)];
This will create for you, a toolbar with 60px of height. Let me know if it's what you want.
Upvotes: 1