I would like to display an action sheet sliding from just below the very top status bar.
When I use the navigationBar as the view to show in, the sheet is still displayed at the bottom of the screen. How can I show it originating from the top instead?
The class I'm calling the following code from is a 'UIViewController'
UIActionSheet *sheet = [[UIActionSheet alloc] initWithTitle:@"Hello" delegate:nil
cancelButtonTitle:nil
destructiveButtonTitle:nil
otherButtonTitles:nil];
UINavigationBar *navBar = self.navigationController.navigationBar;
[sheet showInView:navBar];
I've seen some apps show a sliding out drawer of some sort from where the status bar is.(eg: Twitterrific) How is this done?