I am trying to detect whether the notification appears to users in swfitui. My original purpose is adding customed actions when the time reached the set time goal which the spec