开发者

How to type cast UIView into a CPGraphHostingView?

开发者 https://www.devze.com 2023-02-11 15:07 出处:网络
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

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

精彩评论

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