iOS - UIPageViewController size Inferred vs. Freeform -
this question has answer here:
i came across in xcode 5's "storyboard builder" , didn't idea. when add new uipageviewcontroller screen, can select size in attributes in simulated metrics dropdown. there few options, don't difference between two: inferred , freeform. difference between these two? understanding there's no difference, because both open controller size program tells be.
could explain me?
what's important understand simulated metrics they're that: simulated.
simulated metrics let adjust things how item appears in storyboard. common cause confusion regarding simulated metrics tab bars, navigations bars, or status bar. can use simulated metrics show/hide these in storyboard. using inferred these use context determine whether or not thinks view show based on how set previous views , whether or not it's embedded, etc.
but @ end of day when run program, whether or not tab bar shows based on you've done in code , never have simulated metric.
the same true every simulated metric on storyboard. they're means controlling storyboard preview of item only.
Comments
Post a Comment