Is it possible with IASK to have a PSMultiValueSpecifier automatically pop the stack when the user makes their selection?
Asked
Active
Viewed 188 times
1 Answers
1
Not, currently. The current behavior is identical to the system settings app. I can see the usefulness of this and it wouldn't be hard to integrate this, possibly with a custom IASKPopOnSelect
attribute in the plist that enables this. Feel free to contribute, we're gladly accepting pull requests ;-)

Ortwin Gentz
- 52,648
- 24
- 135
- 213
-
can you point me in the right direction as far as how it could be integrated? – Andy Jan 26 '12 at 14:14
-
check `IASKSpecifierValuesViewController`: `-didSelectRowAtIndexPath:`. There you wanna pop yourself from the navigation stack. To add a `IASKPopOnSelect` specifier, create a getter in `IASKSpecifier` and query `_currentSpecifier` in your `IASKSpecifierValuesViewController`. – Ortwin Gentz Jan 26 '12 at 15:08
-
Thanks Ortwin. one last thing, could you tell me how i can traverse back to the IASKAppSettingsDelegate from that method in IASKSpecifierValuesViewController to pop the view? i assume that i want to call [super popViewControllerAnimated:YES] on the IASKAppSettingsDelegate but i'm not sure how to do that – Andy Jan 27 '12 at 00:02
-
Why don't you do a `[self.navigationController popViewControllerAnimated:YES]`? – Ortwin Gentz Jan 27 '12 at 10:58