iphone - How to type cast UIView into a CPGraphHostingView? -


how type cast uiview cpgraphhostingview?

thanks.

unless uiview not created real uiview object ([[uiview alloc]initwithframe:]) try, cpgraphhostingview object ([[cpgraphhostingview alloc]initwithframe:]) try

(cpgraphhostingview*)view 

as normal type cast written.


Comments