iPhone VR with oculus rift

Hi I know only windows is supported with the rift so far…
However I have the mobile temple running very well on my 5s.
I would love to turn on the stereo renderer and add the lens shader to get it working on the oculus. I’m handling head tracking using the iPhones sensors, so I just need the rendering sorted. Any tips on places to look. I’ve been looking at IStereoRendering class but I’m still not clear on the rendering pipeline and how you tell it to use a custom renderer.