Notification says I’m hacked then gives me an app
I was searching up something on safari and a notification popped up saying that my phone had been hacked and there is a hacker tracking my activity. It then took me to a white screen counting down the time I have left before my phone was shutdown or something like that. It then gave a link to the Apple Store saying “buy this app to keep your iPhone safe” the app it gave me was “Mobile Antihacker Defence” (yes with a C) I didn’t download the app and from what I know nothing actually happened but I was wondering what to do and wanted to warn others