Using iOS14.2, Swift5.3.1, Xcode 12.2,
Following this link, I achieved a custom TabBar that has a new shape.
The shape is given by a CAShapeLayer and its corre