how to fix error of "Cannot assign to property: 'setBarTintGradientColors' is a method" : <p><a href="https://i.stack.imgur.com/iFjgs.png" rel="nofollow noreferrer">enter image description here</a></p>

<p>I trying to set Navigationbar gradient colors using CRGradientNavigationBar library. </p>
