Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/109.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 先于';initwithidentifer';?_Ios_Objective C_Cocoa Touch - Fatal编程技术网

Ios 先于';initwithidentifer';?

Ios 先于';initwithidentifer';?,ios,objective-c,cocoa-touch,Ios,Objective C,Cocoa Touch,我只是对这段代码中“BlurryModalSegue”所指的内容有点迷茫 - (void)presentSignupViewController { // Storyboard ID UIStoryboard *modalStoryboard = [UIStoryboard storyboardWithName:@"MyStoryboard" bundle:nil]; UINavigationController *navController = [modalStoryboard instant

我只是对这段代码中“BlurryModalSegue”所指的内容有点迷茫

- (void)presentSignupViewController {
// Storyboard ID
UIStoryboard *modalStoryboard = [UIStoryboard storyboardWithName:@"MyStoryboard" bundle:nil];
UINavigationController *navController = [modalStoryboard instantiateViewControllerWithIdentifier:@"MySignupViewController"];
MySignupViewController *controller = [navController viewControllers][0];

// Configure your custom view controller, e.g. setting delegate
controller.delegate = self;

// Show VC
navController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;

BlurryModalSegue *segue = [[BlurryModalSegue alloc] initWithIdentifier:@"SignupScene" source:self destination:navController];

[segue perform];
}
它不是我的,我只是看看它是否适合我,但是海报上没有.h文件。它是viewController的名称吗?如果有人能给我指出正确的方向,那就太好了


链接:

我使用了BlurryModelSegue pod,如果将该pod导入XCode项目,您将能够查看BlurryModalSegue.hm文件。这只是一个自定义序列,用于弹出以模糊UIImage为背景的视图控制器。

您所指的页面上有一个指向Github项目的链接,其中包含BlurryModalSegue.h、BlurryModalSegue.m、一个示例项目和一个自述。它看起来像一个定制的“故事板序列”,如下所示: