Cant find ViewController ionic-v4

Cant find ViewController in @ionic/angular . creating modal in ionic 4. but cant close that modal through cross button.

1 Like

You can just import the ModalController and call the dismiss method inside of the modal you are trying to dismiss.

6 Likes

Perfect !!! its working. I love ur all tutorials also josh :slight_smile:

Your tutorials are amazing sir . Waiting for custom splashscreen with ionic 4 . Thanks