martinjuhasz / MJPopupViewController

A UIViewController Category to display a ViewController as a popup with different transition effects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep Popup on screen

sohayb opened this issue · comments

Hello,
Is there a way to keep the Popup on screen if the user clicks outside the the Popup bounds, because the Popup gets dismissed.
Thanks

@sohayb : Create an entire viewcontroller and set a view with your custom size and set the background as transparent. Now you cannot exit by touching outside of the view...
Hope it helps

@kmuralidharan91 thanks 😀, but the thing is that I fixed it by adding a property o the category and set it from the ViewController, check my pull request.