-1
我使用核心情節框架,當我運行下面的代碼viewDidLoad中給出crash.the的觀點是作爲自定義視圖...核心錯誤?
graph = [(CPXYGraph *)[CPXYGraph alloc] initWithFrame:CGRectZero];
CPLayerHostingView *hostingView = (CPLayerHostingView *)self.view;
hostingView.hostedLayer = graph;**(gives error)**
我有什麼做的?請幫忙嗎?
什麼是錯誤? – 2010-05-27 11:56:02
它給崩潰.. – 2010-05-27 12:09:27
爲什麼我不能downvote評論,在這裏? – 2010-05-27 12:21:49