标签: ios core-plot
我在iPhone应用程序的视图控制器中编写了函数viewWillAppear。
- (void)viewWillAppear:(BOOL)animated { [self plotGraph]; }
但是,我收到了错误
Expected identifier. Expected method body.
在此代码段(- (void)viewWillAppear:(BOOL)animated)的第一行内。为什么呢?
- (void)viewWillAppear:(BOOL)animated