[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fjy3KkymaGdp9mNPpUiTApnE3h31C9tt4_8tqH2kQmVI":3},{"code":4,"message":5,"data":6},200,"成功",{"id":7,"createdAt":8,"title":9,"content":10,"summary":11,"image":12,"uid":13,"user":14,"categoryId":21,"category":22,"subCategoryId":24,"subCategory":25,"comments":27,"status":17,"reason":28,"notice":28,"visitCount":29,"commentCount":30,"keywords":31},62,"2024-02-01T06:08:30.113Z","iOS问题：Segues initiated directly from view controllers must have an identifier","在使用storyboard开发iOS项目时，如果没有设置对应的view controller的identifier时，会有对应的三角警告提醒，只是需要设置一下就好了。\n\n当然如果需要使用storybard的代码跳转判断，是得必须要设置这个identtifier的。\n\n![storyboard的警告](https://image.xinwei.ltd/11706767530108.png)\n\n\n![](https://image.xinwei.ltd/21706767638817.png)\n\n在代码中可能有如下的跳转if判断，就可以使用到identifier：\n```\n-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender\n{\n    \n    if ([segue.identifier isEqualToString:@\"gotoBSCreateTable\"]) {\n        //self.tableView = [segue destinationViewController];\n    }\n    \n}\n```","在使用storyboard开发iOS项目时，如果没有设置对应的view controller的identifier时，会有这样的三角警告。","https://image.xinwei.ltd/11706767530108.png",499668042977349,{"phone":15,"userId":13,"nickName":16,"vipType":17,"avatar":18,"sign":19,"createdAt":20},"13121171998","全栈老韩",1,"https://image.xinwei.ltd/images/IMG_5430.JPG","全栈工程师，擅长iOS App开发、前端（vue、react、nuxt、小程序&Taro）开发、Flutter、React Native、后端（midwayjs、golang、express、koa）开发、docker容器、seo优化等。","2024-01-01T16:14:30.305Z",2,{"id":21,"name":23},"IT技术",3,{"id":24,"name":26,"parentId":21},"iOS",[],"",28,0,"ios,ios storyboard,ios故事板,ios开发"]