UIImagePickerController in UIPopoverController - location not working

后端 未结 1 1986
死守一世寂寞
死守一世寂寞 2021-01-27 00:47

In an iPad app I\'m writing I have button in a static table cell that launches an image picker inside a popover.

I want the popover\'s arrow to point at the button that

相关标签:
1条回答
  • 2021-01-27 01:15

    The button is likely not a direct subview of self.view.

    Try:

    [_popover presentPopoverFromRect:self.theButton.frame inView:self.theButton.superview permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
    
    0 讨论(0)
提交回复
热议问题