If statement notification triggers

If my value is higher that 10, a notification should pop up saying, "You are beyond the radius"


let value = userLocation.distance(from: pointLocation)
if (value > 10){
 //trigger notification
}
I am not sure of how to do this, please help.
If statement notification triggers
 
 
Q