UIPopoverPresentationController放置

时间:2019-02-20 10:58:07

标签: ios uiviewcontroller uikit uipopoverpresentationcontroller

我需要手动定义UIPopoverPresentationController的位置和位置。具体来说,当我从UIButton呈现弹出框时,我希望箭头位于弹出框的左下角(箭头向下)。但是,无论使用UIPopoverBackgroundView的自定义子类还是默认的UIPopoverPresentationController,我都无法做到。有办法实现吗?

0 个答案:

没有答案
相关问题