I am newbie for iOS development. What I have done so far is as below.
- Created New Project
- Removed all controller and added View Controller.
- Dragged
ScrollView
in ViewController
- Dragged
Tab Bar
in ScrollView
- Dragged 7
Tab Bar Item
in Tab Bar
.
Now when I execute this project, I have all 7 tabs on screen which is not looking good. So what I am planning is display only 4 tab at first and if user scroll it horizontally, user can scroll and see rest tabs.
So, what I want to achieve is programmatically set some parameter in ScrollView
that it will display only first 4 options only.
Any idea/ suggestion on this to be done?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…