i want my notification to pop up after every 30 questions telling how much % they are done with their quiz i tried to make this code but it didnt worked
Of course it won’t work because you set your codes when the screen starts.
The user must be at 30 when they open the app.
My suggestion is to set your alert block inside the next question so in each question the alert will see when the user reaches 30.
I am sure you have function as “next question” set the alert blocks inside it but not when the screen opens.