Home
Projects
Resources
Alternatives
Blog
Sign In
Custom Tabbarcontroller
Save
custom-tabbarcontroller
Overview
Reviews
Resources
Project README
custom-tabbarcontroller
How to set top left and right corner radius with desired drop shadow in UITabBar ?
Steps
Add a coustmeTabBarView.
Add the cornerRadius to coustmeTabBarView.
Add the shadow to coustmeTabBarView.
In viewDidLayoutSubviews make the coustmeTabBarView frame equal to tabBar frame.
In viewDidAppear Adjust the safe area to the height of the bottom views.
In viewDidAppear Adjust the safe area insets of the embedded child view controller .
Add private func with name addcoustmeTabBarView .
In addcoustmeTabBarView make the coustmeTabBarView frame equal to tabBar frame.
In addcoustmeTabBarView addSubview coustmeTabBarView to view.
In addcoustmeTabBarView bringSubviewToFront tabBar to view.
Add func hideTabBarBorder (optional).
In hideTabBarBorder make the tabBar background Image & tabBar shadowImage to empty image .
In hideTabBarBorder make tabBar clipsToBounds = true.
Add func addcoustmeTabBarView & hideTabBarBorder to viewDidLoad
Open Source Agenda is not affiliated with "Custom Tabbarcontroller" Project. README Source:
mohammed-abuamra/custom-tabbarcontroller
Stars
28
Open Issues
1
Last Commit
4 years ago
Repository
mohammed-abuamra/custom-tabbarcontroller
Tags
Custom Uitabbar
Custom Uitabbarcontroller
Uitabbar
Uitabbarcontroller
Open Source Agenda Badge
Submit Review
Review Your Favorite Project
Submit Resource
Articles, Courses, Videos
Submit Article
Submit a post to our blog
From the blog
Dec 11, 2022
How to Choose Which Programming Language to Learn First?
From the blog
Dec 11, 2022
How to Choose Which Programming Language to Learn First?
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github