AirShou is all I've used for on the device recording but it's not from apple or on the app store and a little sketchy but it can work without jailbreaking.
iOS 11 has built in native screen recording and the Public beta has just been made available to the brave souls who want to try it out. I installed the iOS 11 Beta on my iPad and the screen recording works great with every app I tried except for... *drum roll*... Galaxy of Heroes. For some reason it looks fine while recording but when you play it back it's in this weird scrunched up portrait mode instead of normal landscape. I haven't tried it again since the update today though so maybe they fixed it.