尝试查看 UIViewController 或 UIView 是否可以识别其 Storyboard ID。所以希望:
UIViewController *aViewController;
NSString *storyboardID = aViewController.storyboard.id; //not an actual property
或者:
NSString *storyboardID = [aViewController.storyboard valueForKey:@"storyboardId"]; //also not a working call
但是没有喜悦,也无法在网上找到类似的解决方案。有谁知道这是否可能?