I am using a segmented control as my navigation. One of the buttons in my segmented control is a "share" button; when clicked, want to display an actionsheet from the segmented control, with the arrow pointing up, towards the segmented control bar.
This is not placing the actionsheet popover correctly. Actionsheet Arrow not facing up, it's facing down.
Thanks for helping!
CGRect screenRect = [[UIScreen mainScreen] bounds];
CGFloat screenWidth = screenRect.size.width;
CGFloat screenHeight = screenRect.size.height;
[self.actionSheet showFromRect:CGRectMake(190,220,screenWidth,screenHeight) inView:self.view animated:YES];