IPad app displays an Actionsheet panel with a down arrow rather than an up

When an ActionSheet file is displayed at any point in the view, a downward arrow (below the action sheet) is displayed, although there will be enough space in the view to display the up arrow in the ActionSheet element.
In the "Contacts for iPad" application, when editing a contact and clicking "edit", an ActionSheet with an up arrow appears on the profile photo, so the "up" should be standard.

After entering the code on iOS 3.2 the up arrow, on iOS 4.2 and 4.3 the down arrow. I tried different Rects and Views.

actionSheetXY = [[UIActionSheet alloc] initWithTitle:nil
                                            delegate:self
                                   cancelButtonTitle:NSLocalizedString(@"cancel",nil) 
                              destructiveButtonTitle:nil
                                   otherButtonTitles:NSLocalizedString(@"test",nil),nil];
actionSheetXY.actionSheetStyle = UIActionSheetStyleDefault;
actionSheetXY.delegate = self;
[actionSheetXY showFromRect:CGRectMake(100,200,320,320) inView:self.view animated:YES];

Is there a way to get an up arrow?

+3
source share
1

, : CGRectMake (100,200,320,320)

, , , .

, ,

[actionSheetXY showFromRect:[editButton frame] inView:self.view animated:YES];
-2

All Articles