TeenHater is the most intuitive, useful and simple to use ultrasound generator on the App Store.
It can generate ultrasounds from 8 to 22 kHz and supports background mode too.
You can use it for testing your own hearing or for drawing attention to yourself without older people noticing you.