Adjust UIPopoverController position after resize

后端 未结 2 1465
渐次进展
渐次进展 2021-02-10 11:05

I have a UIPopoverController containing a UITableView. The popover is resized in its view controller\'s -viewDidAppear function to fit th

2条回答
  •  北荒
    北荒 (楼主)
    2021-02-10 11:47

    According to this answer, you can call presentPopoverFromRect:inView: on the popover again and it will reposition the arrow. I haven't tested this myself.

提交回复
热议问题