2013-10-21 27 views
0

我做一個應用程序,我得到的錯誤錯誤「重複的接口定義類‘視圖控制器’」

Duplicate interface definition for class 'ViewController'

我ViewController.h得到這個錯誤。

這裏是我使用的代碼時,我得到的錯誤:

@interface ViewController : UIViewController <MFMailComposeViewControllerDelegate> 
- (IBAction)Contact:(id)sender; 

回答

0

,請複製粘貼更多的代碼。有時候錯誤在別的地方。檢查是否有@interface和@end,並在編譯前進行清理。