How to make UITabbarcontroller show over all other view controllers?

I want the tabs at the bottom to always show, even when I present a modal view contoller. So when I call [self presentModalViewController:vc animated:YES]; It shouldn't display over the tab bar, but underneath it (This would result in the lower part of the view controller being hidden by the tab bar controller, which is what I want) How would I do this??

Thank you!

Answers


I found out the way to do it, you simply have to set the view controller view as your own. So you would say: Receipt b = [[Receipt alloc]init]; [self setView:b.view];


Need Your Help

Upload with Buffer iOS 7

ios iphone ios7 upload nsurlsessionuploadtask

I am trying to implement an Upload with random Data and measure the speed. For now i am generating my random NSData like this:

How to set zeroDateTimeBehavior on JNDI DataSource without using URL?

tomcat properties datasource jndi

In this stackoverflow question the poster implies that you can set zeroDateTimeBehavior="convertToNull" as an attribute on the <Resource> tag.