{"action":"created","issue":{"url":"https://api.github.com/repos/m1entus/MZFormSheetPresentationController/issues/42","labels_url":"https://api.github.com/repos/m1entus/MZFormSheetPresentationController/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/m1entus/MZFormSheetPresentationController/issues/42/comments","events_url":"https://api.github.com/repos/m1entus/MZFormSheetPresentationController/issues/42/events","html_url":"https://github.com/m1entus/MZFormSheetPresentationController/issues/42","id":122300006,"number":42,"title":"Question with autolayout: adaptative size","user":{"login":"Vinzius","id":337930,"avatar_url":"https://avatars.githubusercontent.com/u/337930?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinzius","html_url":"https://github.com/Vinzius","followers_url":"https://api.github.com/users/Vinzius/followers","following_url":"https://api.github.com/users/Vinzius/following{/other_user}","gists_url":"https://api.github.com/users/Vinzius/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinzius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinzius/subscriptions","organizations_url":"https://api.github.com/users/Vinzius/orgs","repos_url":"https://api.github.com/users/Vinzius/repos","events_url":"https://api.github.com/users/Vinzius/events{/privacy}","received_events_url":"https://api.github.com/users/Vinzius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T15:42:16Z","updated_at":"2015-12-15T16:02:03Z","closed_at":"2015-12-15T16:02:03Z","body":"Hello,\r\n\r\nFirst, thank you for this library.\r\nI have a question regarding its use with autolayout.\r\n\r\nI don't see how to go around the `contentViewSize` of MZFormSheetPresentationController in order to let autolayout handle the sizes.\r\n\r\nExample 1: I have a view with a label, text = \"hello world\". I pin the label to the its superview edges. So I expect the presented view to have a small size.\r\n\r\nExample 2: I want the width of my view to be 80% of the screen.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/m1entus/MZFormSheetPresentationController/issues/comments/164808186","html_url":"https://github.com/m1entus/MZFormSheetPresentationController/issues/42#issuecomment-164808186","issue_url":"https://api.github.com/repos/m1entus/MZFormSheetPresentationController/issues/42","id":164808186,"user":{"login":"Vinzius","id":337930,"avatar_url":"https://avatars.githubusercontent.com/u/337930?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinzius","html_url":"https://github.com/Vinzius","followers_url":"https://api.github.com/users/Vinzius/followers","following_url":"https://api.github.com/users/Vinzius/following{/other_user}","gists_url":"https://api.github.com/users/Vinzius/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinzius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinzius/subscriptions","organizations_url":"https://api.github.com/users/Vinzius/orgs","repos_url":"https://api.github.com/users/Vinzius/repos","events_url":"https://api.github.com/users/Vinzius/events{/privacy}","received_events_url":"https://api.github.com/users/Vinzius/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T16:02:03Z","updated_at":"2015-12-15T16:02:03Z","body":"It was my fear, thanks. Too bad :-(\r\n\r\nI like to use autolayout (as Apple is pushing for it), but this kind of problem doesn't help..."}}