I have several IASKAppSettingsWebViewController items setup in my plist and I would like to jump to one specifically as soon as the IASKAppSettingsViewController is loaded. How would I do this? THX

有帮助吗?

解决方案

You can instantiate a IASKAppSettingsWebViewController manually using

IASKSettingsReader *settingsReader = [[IASKSettingsReader alloc] initWithFile:@"Root.plist"];
IASKSpecifier *specifier = [settingsReader specifierForKey:@"key"];
IASKAppSettingsWebViewController *vc = [[IASKAppSettingsWebViewController alloc] initWithFile:@"Test.html" specifier:specifier];

Then just push this view controller on the IASK navigation controller.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top