Place button outside Modal View Controller

本小妞迷上赌 提交于 2019-12-10 11:43:37

问题


I would like to add a close button outside the bounds of the modal view controller which I am presenting on an iPad app.

I tried adding a button normally via storyboard, via coding, but the UIButtons view gets clipped by the bounds of the modal view controller.

What my purpose is : I want to add a close button at the right corner of my modal view controller which is configured as a Form sheet.

I'm launching the modal view controller via a segue from my previous view.

Attached screenshot show what I am trying to achieve:

来源:https://stackoverflow.com/questions/16105673/place-button-outside-modal-view-controller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!