This interesting article is about a couple of hidden Yosemite features, most importantly, recording your iOS 8 device screen on your Mac. I use third party software to do this. Even though this procedure is a bit convoluted, it is definitely doable. Give it a read if you need to record your iPhone screen for some purpose. The iOS device must be running iOS 8.