I have a bottom navigation bar. Clicking one of the items brings a menu up from the the navigation bar. Simultaneously I'd like the the background screen to become inactive. Similar to the behaviour of the modal bottom sheet.
Related
I have a standard UI Tab Bar controller, with the tabs all added using interface builder. I've used the image inset properties to make the large centre button sit on the edge of the tab bar. However, when I tap on the half that's outside the tab bar bounds it doesn't register anything.
I've currently got no code in place for the tab bar, but I'd like to know how I can have a button like this and make it's taps register even when it's outside the tab bar bounds.
I have a UIView that I can drag around the screen via UIPanGestureRecognizer. However, when I drag it down to the bottom of the screen, the view automatically starts to squish vertically when it touches the tab bar. If I keep dragging downward, it will eventually be allowed to drag under the tab bar.
I don't want it to interact with the tab bar at all though. It should just slide under it as if it weren't there. The view controller has Extend Edges Under Top Bars and Extend Edges Under Bottom Bars checked.
Why is the view interacting with the tab bar in the first place? And how do I prevent this behavior?
Finally fixed this by unchecking the "Extend Edges Under Bottom Bars" option on the view controller. The view now slides unimpeded under the tab bar.
I am using Tab Bar to navigate from one view another view. In my screen shot, last button is highlighted. If, I click Click me button, Favorites button color should be highlighted to red. But, I couldn do that. If I use Tab Bar Controller, I can do this with, tabBarController.selectedIndex = 1. How can I do this without tabBarController in swift? Kindly guide me.
I have noticed that the navigation bar back button tap area extends about 10 pixels below the bottom of the navigation bar. I have some buttons right below the navigation bar that are hard to tap because of this overlap. Is there any way to fix this?
How to create a splash screen with a UIActivityIndicator for a Tab bar application ?
Add it over top of the tab bar. As in, add it as a subview to your window. Remove that view once you're ready. Unless of course you want to show the tab bar and just display a splash (such as some loading screen) for a view it displays, then do the same, but to the contained view not the window.