Change Progress bar value on one view controller from another view controller

I have a viewcontroller1 which contains the containerView, In this container view, there is another viewcontroller2. There is also a progress bar in the Viewcontroller1 which I want to change from viewcontroller which is present in the containerView (viewcontroller2).

is there any way to do this? if so, please help me out.
Thanks in advance šŸ™‚