Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top