我遇到了以下错误信息:
"UIStoryboardSegue does not have a member named 'identifier'"
以下是导致错误的代码
if (segue.identifier == "Load View") {
// pass data to next view
}
在 Obj-C 中,可以像这样使用:
if ([segue.identifier isEqualToString:@"Load View"]) {
// pass data to next view
}
我做错了什么?