Search code examples
iosinappsettingskit

inAppSettingsKit Hide Child Pane


I can successfully hide menu items using

self.hiddenKeys = [NSSet setWithObjects:@"key1",nil];

How can I dynamically hide a child pane sub menu ? Is this possible ?


Solution

  • The same way. Just use the key of the PSChildPaneSpecifier dictionary in the parent. If you want to animate the change, there's -setHiddenKeys:animated:.