Library / SDK
ChenYilong/CYLTabBarController avatar
ChenYilong/CYLTabBarController

CYLTabBarController: a centered plus button, Lottie icons and Liquid Glass on one UIKit tab bar, tied to 1.99.x releases

An iOS UI module library for adding animation to iOS tab bar items and icons using Lottie and Liquid Glass, with support for a larger center tab bar item with a plus icon, built-in red-dot badges and dynamic refresh. Tested on iOS 27, Dark Mode and iPhone 17.

7,074 stars1,455 forksSwiftMIT

At a glance

What is it?
CYLTabBarController is an MIT-licensed iOS tab bar library that adds a raised center plus button, Lottie-animated icons, red-dot badges and flat or Liquid Glass styles. It fits apps that want that layout without private APIs, at the cost of tracking a library release for every new iOS version.
Who is it for?
Use CYLTabBarController if your app design calls for a raised center plus button, Lottie-animated tab icons or red-dot badges on top of the iOS 26 and iOS 27 tab bar styles, and you are willing to bump the 1.99.x version each time Apple ships a new iOS. Stay on the system UITabBarController if a standard tab bar is enough.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Swift, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • ChenYilong/CYLTabBarController7,074 ★ · +38
Star history
Repository2026-10-072026-11-25
ChenYilong/CYLTabBarController7k7.1k

38 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

A raised plus button and animated icons that UITabBarController does not give you

Plenty of consumer apps want a tab bar with a larger button in the middle, often a plus that opens a compose or capture screen, and icons that animate when tapped. UIKit's stock tab bar offers neither. CYLTabBarController fills that gap: it adds a center PlusButton, plays Lottie animations on tab bar items and icons, shows red-dot badges that can animate, and supports refreshing the bar while the app runs. Version 1.99.39 added the ability to add or remove the plus button at runtime on iOS 26.

The author's own pitch is a Lottie tab bar "with one line of code". The repository ships a list of published App Store apps built on it, including the Haidilao restaurant app, which tells you mainly that the library has been carried through App Store review in production.

The audience is iOS teams on UIKit. Primary language on GitHub is Swift, yet the main Example/ target is Objective-C (AppDelegate.m, MainTabBarController.m, SceneDelegate.m), and there are separate Example-Swift, Example-Swift-02 through Example-Swift-04 and Example-Swift-SwiftManager targets. Both languages are first-class here.

Flat and Liquid Glass styles share one API and can swap at runtime

Since iOS 26 the library has two visual styles. The Liquid Glass style inherits from UITabBar, honours the system appearance settings and adds PlusButton on top. The flat style is packaged as an independent component, which the author says lowers coupling and keeps package size down.

Both styles expose the same API. Switching between them is a matter of changing the appearance property, and the switch can happen while the app is running. The README pitches this for A/B testing and staged rollout, which is a real use: you can ship both looks in one binary and decide per user which one appears.

On iOS 27 the flat style needs no extra code. If your Info.plist keeps UIDesignRequiresCompatibility, the library selects the flat style automatically. That is useful for apps that opted out of the new system design and do not want their tab bar to be the one screen element that changed. Lottie animations, the Liquid Glass effect and animated badges can be shown together.

Public APIs only, which is what keeps it through App Store review

Custom tab bars have a history of reaching into private view hierarchies, and that is how apps get rejected or break on the next iOS beta. CYLTabBarController states the opposite for its Liquid Glass work: no private APIs, a native Liquid Glass effect, and no dependency on the UI compatibility mode, which the author marks as review-friendly on iOS 27. The iPhone Duo adaptation is described the same way, as pure public native API.

That claim is the main reason to choose this library over a hand-rolled overlay. Verify it yourself before you ship: build one of the example targets against your deployment SDK and run it through your normal pre-submission checks, since the guarantee comes from the author rather than from Apple.

Every iOS release needs a matching 1.99.x bump

The cost of a custom tab bar is that it must follow Apple's changes, and the README makes that dependency plain in its version notes. iOS 26 features, including Lottie with Liquid Glass and a centered PlusButton over the glass, need 1.99.39 or later. iOS 27 support needs 1.99.41 or later. The landscape and portrait layouts for iPhone Duo arrived with 1.99.66, and the release tagged 1.99.67 on 2026-10-27 carries the iPhone Duo note in its title. The last push to master was on 2026-11-01.

The practical consequence: an app pinned to an older 1.99 version keeps compiling on a new iOS and silently misses the adaptation. A team that adopts this library takes on a check at each iOS release to see which 1.99.x the maintainer recommends, and it relies on one author's turnaround. The README says existing integrations can usually be upgraded with minimal code changes, and the iPhone Duo update is advertised as zero-code for apps already on the flat or Liquid Glass style. Treat that as the author's promise and read CHANGELOG.md before each bump.

Three dependency manifests at the root, no install line in the opening pages

The top of the README is given over to preview tables and version notes rather than an install snippet, so read the repository root to see how the library is distributed. It carries CYLTabBarController.podspec for CocoaPods, a Package.swift and Package.resolved for Swift Package Manager, and a Cartfile with Cartfile.resolved. The library sources sit in CYLTabBarController/, with tests in CYLTabBarControllerTests/ and a CYLTabBarController.xcworkspace that ties the examples together.

The most direct first use is to open the workspace and run an example rather than to wire it into your app straight away. Example-Swift-SwiftManager-FlatDesign shows the flat style. Example-loadTabBarIconsFroNework covers icons loaded over the network. Usage questions are directed to docs/FAQ.md, and bugs and feature requests go to GitHub issues.

Chinese-first release notes and a package.json that says ISC

The README is bilingual, with every block tagged [CN] or [EN] and the feature tables set the two languages side by side. The release titles are not bilingual. 1.99.55 and 1.99.41 are titled only in Chinese, and the community channels are QQ and Telegram groups listed in the author's iOSBlog repository. An English-only team can follow the code and the README, and will find the release feed and community discussion harder to read.

Licensing has a wrinkle that trips automated scanners. GitHub detects MIT from the LICENSE file. The root package.json, which exists only to configure commitizen with cz-conventional-changelog, declares "license": "ISC" and a version of 1.0.0 that has nothing to do with the 1.99.x library version. The MIT file is the one that governs the library, but a license audit that reads package.json will report ISC, so expect to explain the mismatch to whoever runs your compliance checks.

Where RAMAnimatedTabBarController and the stock tab bar differ

RAMAnimatedTabBarController, a name people search alongside this one, also animates tab bar items, but it does so with animation classes written in code rather than Lottie files designed in an animation tool. That makes CYLTabBarController the better fit when a designer hands you Lottie JSON, and the other one simpler when you want a bounce or rotation with no animation assets at all.

The stock UITabBarController remains the option with no upgrade tax. It follows each iOS release automatically, including the new system styles, and it will never need a 1.99.x bump. It also has no raised center button, no Lottie icons and no built-in red-dot badge animation. If your design does not call for those, the library adds maintenance without adding anything your users see.

Editorial conclusion

Use CYLTabBarController if your app design calls for a raised center plus button, Lottie-animated tab icons or red-dot badges on top of the iOS 26 and iOS 27 tab bar styles, and you are willing to bump the 1.99.x version each time Apple ships a new iOS. Stay on the system UITabBarController if a standard tab bar is enough. Before adopting, open docs/FAQ.md and one of the Example-Swift projects, and confirm that the version you pin is at least 1.99.41 for iOS 27.

Frequently asked questions

Which CYLTabBarController version supports iOS 27?

The README recommends 1.99.41 or later for iOS 27. iPhone Duo landscape and portrait layouts need 1.99.66, and 1.99.67 was released on 2026-10-27.

Does CYLTabBarController use private APIs for Liquid Glass?

No. The author states that the Liquid Glass style uses no private APIs, inherits from UITabBar and supports the system appearance settings, and describes it as suitable for App Store review.

Can CYLTabBarController switch between flat and Liquid Glass styles at runtime?

Yes. Both styles share the same APIs, so changing the appearance property switches them, including while the app is running, which the README suggests for A/B testing and staged rollout.

What license is CYLTabBarController under?

The LICENSE file is MIT. The root package.json, used only for commitizen tooling, declares ISC, which can confuse license scanners.

Official sources

  1. ChenYilong/CYLTabBarController on GitHub
  2. Issues
  3. License: MIT
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/chenyilong-cyltabbarcontroller.svg)](https://hysenlabs.com/projects/chenyilong-cyltabbarcontroller)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/chenyilong-cyltabbarcontroller.svg)](https://hysenlabs.com/projects/chenyilong-cyltabbarcontroller)

Was this useful?