0
我的代碼:無法分析格式字符串錯誤
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
NSEntityDescription *entity = [NSEntityDescription entityForName:@"File" inManagedObjectContext:[self managedObjectContext]];
[fetchRequest setEntity:entity];
cellText = @"Crysis 3 - 'The Nanosuit' Gameplay Trailer";
NSPredicate *predicate = [NSPredicate predicateWithFormat:cellText];
[fetchRequest setPredicate:predicate];
,並建立後,我有錯誤
終止應用程序由於未捕獲的異常「NSInvalidArgumentException」,理由是:「無法分析格式字符串「孤島危機3 - 」納米運動員'遊戲拖尾''
如何解決它?