开发者

How to type cast UIView into a CPGraphHostingView?

How to t开发者_StackOverflow中文版ype cast UIView into a CPGraphHostingView?


Unless your UIView was not created as a real UIView object ([[UIView alloc]initWithFrame:]) try, but as a CPGraphHostingView object ([[CPGraphHostingView alloc]initWithFrame:]) try

(CPGraphHostingView*)view

as a normal type cast is written.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜