I want to display a UIActionSheet at the beginning of my application so I descided to fire it in my appdelegate class , at didFinishLaunchingWithOptions
using
UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:@"Do you wish to install test cases " delegate:self cancelButtonTitle:@"cancel" destructiveButtonTitle:nil otherButtonTitles: @"Yes", @"No", nil];
popupQuery.actionSheetStyle = UIActionSheetStyleBlackOpaque;
[popupQuery showInView:window];
[popupQuery release];
but it fire exception
* Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: view != nil'
how to fix that
best regards