As per previously implemented code there is a navigation bar with static Image (A bell icon) on top of this is a Custom container view with a label has been added to show the notifications which are dynamic.
Issue is that the container view is going behind the right navigation item i.e. bell image as per the following screenshot:
Idealy the required UI behavior is that orange container view with label should come in the front.
self.view.bringSubview(toFront:myCustomView)
The above code is not working.