UIActionSheet display from Toolbar
<p>Have two issues one is <code>showFromToolbar</code> statement format warning issue and another is that in performAction method how i can display <code>UIActionSheet</code>.</p>

<p><code>ActionSheet</code> from <code>showFromToolbar</code> <code>UIBarButtonItem</code></p>

<p>when i use this statement</p>

<pre><code>[ActionSheet showFromToolbar:(UIToolbar *)view];
</code></pre>

<p>On analyzing it shows warning for expected expression</p>

<pre><code>UIActionSheet *ActionSheet = [[UIActionSheet alloc] 
                             initWithTitle:@"Language Options"
                             delegate:nil
                             cancelButtonTitle:@"Cancel"
                             destructiveButtonTitle:nil
                             otherButtonTitles:@"Devanagari", @"English", nil];

ActionSheet.actionSheetStyle = UIActionSheetStyleBlackTranslucent;

[ActionSheet showFromToolbar:(UIToolbar *)view];

[ActionSheet release];
</code></pre>

<p>Button which displays ActionSheet</p>

<pre><code>UIButton *pagecurlButton = [UIButton buttonWithType:UIButtonTypeCustom];

[pagecurlButton addTarget:self action:@selector(performAction:) forControlEvents:UIControlEventTouchUpInside];

pagecurlButton.frame = CGRectMake(0.1, 0.1, 30, 30);

UIImage *img = [UIImage imageNamed:@"pagecurl.png"];

[pagecurlButton setImage:img forState:UIControlStateNormal];

UIBarButtonItem *pagecurl = [[UIBarButtonItem alloc] initWithCustomView:pagecurlButton];
</code></pre>

<p>In performAction method how i can display actionsheet upon hiiting.</p>

<pre><code>-(void)performAction:(id)sender
</code></pre>
