ios - iPad app not scaling properly -
i new ios development. coming visual studio , c#, xcode confusing use.
i followed ray wenderlich's tutorial here make first app. app works fine app not scale full screen though i've designed ui such in xcode storyboard. looks this:
as can notice, alignment not proper. in xcode though, i've placed controls properly:
how fix this?
note: i'm testing in ipad air.
as vs developer, can relate you.
in xcode world, must use constraints, explain ios device how position controls, relative size of screen.
i'd recommend going raywenderlich , have read of this: autolayout
it will drive mad... once understand it, it'll allow control positioning without writing code.
just remember need add enough constraints each control xcode can work out width & height, x-pos , y-pos.
(it takes practice. , patience. , swearing. swearing.)
Comments
Post a Comment