How to make the subview visible to the iOS UIAutomation tree

I recall there was some discussion on the steps need to make a subview visible to the UITree. Can someone point me to that?

this apple link https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/iPhoneAccessibility/Making_Application_Accessible/Making_Application_Accessible.html#//apple_ref/doc/uid/TP40008785-CH102-SW10
goes deep into how to make this work.

But basically you make the parent container accessibility=false and the child containers views accessibilty=true.