Closed metasmile closed 9 years ago
Hi,
Actually, you have to set the height of the custom content view using auto layout.
And this is why subclassing RMActionController is recommended. This way you do not have to write the code for adding the content view every time you present your subclass of RMActionController.
Hope I could help. If you have any more questions feel free to ask :)
Best regards, Roland
yep, In fact, layout calculation via codes(but via very structural methods) is probably just my personal preference.(because I hate current ios auto layout system and customizing pattern..) your way is the right way, but currently i think there may be a better way to use simply. so someday I'll make a fork and modify something when I get time. :)
Anyway, once I'm using well. Roland thanks for your reply and good work.
hello, CooperRS :) I can't show title and message at the top of controller when using basic RMActionController. It looks like dependent on layout constraints such as 'translatesAutoresizingMaskIntoConstraints' and entire VC's height. Must I write below codes for auto layout every inherited uiviewcontroller to show title and message?
i wrote like below (to add a MPVolumeView)
and i hope to write like this (case for iphone only - just set contentview. and the end):