move waitForSignalWithCompletion to view *Did* Appear, because if 401 happens (like it does in viewSamples), it automatically calls  [_self cancelButtonPressed: nil]; before viewDidAppear, which corrupts navigationbar
move waitForSignalWithCompletion to view *Did* Appear,
because if 401 happens (like it does in viewSamples), it automatically calls
 [_self cancelButtonPressed: nil];
before viewDidAppear, which corrupts navigationbar

irkit/ios-sdk