iphone - Help Fixing UIViewController with a UIToolbar -


I have an app with a navigation bar at the top of the UITableView subclass on which I see the UITableView Add a UIToolbar below:

  UIToolbar * toolbar = [[Uitoolbar alloc] init]; [Toolbar size tofitt]; // Set the toolbar to fit in the width of the CGFloat toolbar, right = [toolbar frame]. Shape. height; // Calculate the height of the toolbar; CGRK RootVibonds = self.parentViewController.view.bounds; CGFloat RootviewHit = CGRTGhatHit (Rootviewback); CGFloat RootViewview = CGRect GateWidth (Rootviewback); CGRect rectArea = CGRectMake (0, toolheart, rootview, toolbar); [Toolbar setframe: rikita area]; [Self.navigationController.view addSubview: toolbar];  

The problem is that the toolbar is the "top" of UITableView and the mask at the top of the content of the first line in the UITableView. I really want "starting" for table view below UIToolbar

How can I do this properly?

Gracias, José

I agree with the non-opponent, but if you According to the description logic is required. You should create a simple view with both the UITableView SubView and Toolbar SubView and set your frames accordingly, as you would like them to give space.

Another option if you want to scroll with the other for the toolbar, see the table of contents in the table headers of the toolbar.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -