Questions tagged [uitoolbarposition]
6 questions
1
vote
3 answers
Best way to position UIToolbar programmatically (with or without UIToolbarDelegate)?
I'm implementing in Playgound a segmented control underneath the navigation bar.
This seems to be a classic problem, which has been asked:
UISegmentedControl below UINavigationbar in iOS 7
Add segmented control to navigation bar and keep title…

LShi
- 1,500
- 16
- 29
0
votes
1 answer
UIToolbar setFrame not working
I want to toggle visibility of a toolbar at the top of the screen by sliding it out of the visible area. To that end I store the toolbar's y-coordinate and height on viewDidLoad, and update it accordingly when I want it to fade-in/fade-out.
The…

Eduard Feicho
- 568
- 4
- 8
0
votes
1 answer
Place UIToolbar at the bottom of the screen above a UITableViewController
I don't want to use the toolbar of the UINavigationController. I want to use a separate UIToolbar instead.
Requirements:
Always visible on screen
Should stay on it's position at the bottom of the UIView (like the toolbar of the…

testing
- 19,681
- 50
- 236
- 417
0
votes
1 answer
Setting UIToolBar Background image swift
I am using swift to make an IOS application. I have a UIToolBar in my application and I need to change its background. I use the following code in Objective-C to do that:
[topBar setBackgroundImage:[UIImage imageNamed:@"header_bg.png"]…

Harikrishnan
- 7,765
- 13
- 62
- 113
0
votes
1 answer
UIToolbarPosition set to bottom on resize
I have a UIToolBar at the top of one of my views and the shadowing shows up on the bottom of the tool bar as I'd expect. I know UIToolbarPosition is internally set to UIToolbarPositionTop.
When I rotate my device (iPad), the tool bar grows (using…

DBD
- 23,075
- 12
- 60
- 84
-1
votes
1 answer
How UIToolbarPosition is handled by UIToolbar?
I'm using setBackgroundImage:forToolbarPosition:metrics: method of UIToolbar.
That's my code:
toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(0,0, 320, 44)];
[toolbar setBackgroundImage:[UIImage imageNamed:@"top"]…

danielemm
- 1,636
- 1
- 14
- 24