Using Capacitor instead of Cordova?

Hi I have recently add some changes to my project and was about to submit it to Apple developer.

And got some warnings such as UIWebView ( ITMS-90809: Deprecated API Usage)
and ITMS-90338: Non-public API usage

Would i need to use Capacitor instead now with my Ionic 4 application?