Skip to main content

All Questions

Tagged with
0 votes
1 answer
24 views

Show "tutorial" over UITabBarViewController with constraints in Swift?

An example of tutorial I need: It is MYPassthrough library. The problem is it works with frames only but I need constraints (to bind to appropriate views directly without of frame calculations) Tried ...
Gargo's user avatar
  • 1,381
1 vote
1 answer
647 views

Custom Tab Bar Background Image is not showing correctly

I'm implementing a custom Tab bar for my iOS app. Im using the following code to display a background image: class TabNavigationMenu: UIView { // ... // ... UIGraphicsBeginImageContext(self....
Saad Rehman's user avatar
0 votes
1 answer
204 views

Hidden UITabBar while UITabBarController is inserted into container view

For some reason I need to insert UITabBarController into conatiner view. When UITabBarController is presented itself (VC with container view is skipped) it works perfectly and everything is being ...
kkiermasz's user avatar
  • 463
2 votes
1 answer
837 views

iOS - UIView above UITabBar with Layout Guide

I have a UIView above my UITabBar that will be able to show and disappear. The View is added as a SubView in the UITabBarController's View. I want to change the Bottom Layout Guide depending on the ...
evenwerk's user avatar
  • 987
1 vote
1 answer
91 views

View mess up when i add new tab bar item

I have view like in first picture When i add new tab bar item to the view, it will mess up like below picture (Second picture). I don't know what is the problem, how can i solve this? Thank You!
Emre Önder's user avatar
  • 2,537
7 votes
5 answers
3k views

Add a common view for all view controllers in UITabbarController

I'm trying to develop something like the playback bar in Apple Music. A common view that appears at the bottom of all the view controllers of a UITabbarContoller. Is there any idea or a best practice ...
bunnyshell's user avatar
1 vote
0 answers
39 views

If tab bar item is clicked a second time, scroll to top of UIView

I have a custom tab bar that adds a subview of the UIView that is selected based on the index tag. - (IBAction)onTabSelectionChange:(id)sender { UIButton *btn = (UIButton*)sender; ...
jape's user avatar
  • 2,901
0 votes
2 answers
981 views

How to prevent using UIAppearance with UIView's tintColor from changing all UITabBar icon colours?

If I perform UIView.appearance().tintColor = ... the tintColor of all the icons in the tab bar change from the normal inactive grey state to whatever I set the tint color to. I don't understand why ...
Doug Smith's user avatar
  • 29.3k
0 votes
1 answer
66 views

Increase size of UITabbar

I need to subclass a UITabBar and increase its size. I made it with code -(CGSize)sizeThatFits:(CGSize)size { CGSize sizeThatFits = [super sizeThatFits:size]; sizeThatFits.height = ...
Mat Demon's user avatar
  • 197
1 vote
0 answers
668 views

UITabBar subviews change order

I'm iterating over UITabBar views like so: for (UIView *view in [tabBar subviews]) { if ([view isKindOfClass:[UIControl class]]) { tabBarItemFrame = [tabBar convertRect:view.frame toView:...
outlabl's user avatar
  • 13
0 votes
1 answer
908 views

iOS TabBar Item, increase size of icons

I want to make its size like in Instagram app, but did not have any frame properties here. How can I increase size of tabBar icon? Is it possible ?
Jonginho Kamindas's user avatar
0 votes
1 answer
893 views

Changing color of the active whole section in tab bar - iOS 7

(Hopefully) Quick question! I would like to make a custom tab bar design. Right now it looks like this: What I've done is: Changed the background color to dark grey Changed the tint color to blue. ...
ifraaank's user avatar
  • 122
0 votes
1 answer
108 views

UITabBar disables when simulraneously click 2 buttons

I currently have the following "controller tree": UITabBarController ┣━ UIViewController (A) ┃ ┗ MKMapView ┣━ UINavigationController ┃ ┣━ UITableViewController (X) ┃ ┗━ ...
Szu's user avatar
  • 2,252
0 votes
0 answers
187 views

Set a UIView as the background of a UITabBar

I know how to customize the background color or the background image of a UITabBar: tabBar.barTintColor = [UIColor ...]; // set background color tabBar.backgroundImage = [UIImage ...]; // set ...
Mischa's user avatar
  • 17.2k
0 votes
1 answer
573 views

UIView slide from side on top of UITabBarController

I'm trying to achieve this behaviour The view from the right should slide when dragging. I have the dragging behaviour in place, my only problem is that since the view that is dragged is a child of ...
alex's user avatar
  • 957

15 30 50 per page