Comments (11)
Hey,
You can use the pageTabBarAlignment
property and set it to .top
.
:) All the best!
from samples.
thank you danieldahan also how can I use it without rootviewcontroller ?
(My viewcontroller loading by tabbar controller how can I set it ? )
from samples.
Yes, if you use the TabBar
view, you can place it anywhere you like. If you are using Layout
, you can do this:
let tabBar = TabBar()
// Add buttons...
view.layout(tabBar).top().horizontally()
Hope that helps :)
from samples.
I'm talking about this. How can I will call page tabbar on this scenario ?
from samples.
At the current moment, there really is only two options:
- Use the PageTabBarController, and that means using the
rootViewController
, - Construct the view yourself. Any suggestions I give you when it comes to creating it yourself will be much harder and more error prone than the
PageTabBarController
option.
Possibly, I can help you move your current UIViewController to the PageTabBarController using the rootViewController. It is really easy usually.
from samples.
@DanielDahan so how can I make it using via storyboard.
from samples.
I think making it using Storyboards is going to be complex and really not my speciality. I do everything programmatically, so I don't face limitations that Storyboards impose.
from samples.
So, I'm still didn't understand how can I add page tabbar to this scenario
from samples.
I believe if you want to do it with Storyboards you need to construct the entire thing using the pieces available in Material, such as TabBar
.
from samples.
okay how can I do that without storyboard ?
I'm just trying to figure out how can I implement it.
from samples.
I will be back in a few hours, I will work with you to get it up and running nicely. Let's chat on Material Gitter :)
from samples.
Related Issues (20)
- How to use NavigationDrawer whit native UITabbarController? HOT 2
- How to open ViewControler from left or right drawer? HOT 5
- In CheckButton Unable to change the background color HOT 11
- Set base configuration of Checkbox to Tint = clear. HOT 1
- Type 'MotionTransitionAnimationType' has no member 'fadeSlide' HOT 1
- NavigationController has no shadow or elevation HOT 3
- Using NavigationController in storyboard HOT 1
- Error Launching Sample CollectionView HOT 3
- ToolbarController Sample not works HOT 2
- bug HOT 1
- Coming up with a basic design for a new Sample application
- Card \ PresenterCard sample does not show card in ios 13.1 HOT 3
- Value of type '(TabBar, TabItem) -> ()' has no member 'buttons' HOT 1
- ImageCard sample gives me a complete white screen
- Cannot Build with Xcode 11
- At the TableView, does not work padding.
- NavigationDrawer needs update?
- tabBarStyle = .scrollable alignment to right
- demo error
- Right To Left (for arabic country) view not supported.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samples.