How do I provide record audio controls on the lock screen?

I am working on a sound recording app and I noticed that Voice Memos is abale to present an interface on the lock screen whwen the phone is locked. Is this a standard capability or something available only to Voice Memos because this is an Apple developed app? I'm just trying to figure out if there is anything that I need to do to support this feature.


I was looking at the article "Controlling Background Audio" but this seems to be about supporting playback on the Now Playing screen, rather than a recording interface.


Thanks!