iReal Pro plays (audio) in the background, so you can switch to a PDF viewing app for instance (for lyrics, notation, melody or practice material). It will stop if you reference YouTube (or your music tracks (iOS)) using Share/Find (Android) or Share/Search for (iOS).
iReal Pro will run in the background in Mac.