简体   繁体   中英

IOS Universal APP center issue

I'm Developing a iOS APP for 2 devices iPhone and iPad I am using 1 storyboard and thats the one for iPhone I also checked 'Use Auto layout'.

When I starts my app on the debugger on iPhone everything looks fine and nice when I start it on iPad 2, it also looks nice but my login screen is stick to left I put my form element inside the UIScrollView how do I center everything since iPad has a bigger screen size.

what I have tried:

self.view.transform = CGAffineTransformScale(CGAffineTransformIdentity, 2, 2);

but this looks very uggly and blurry. so not worth it.

我使用2个情节提要板,我忘了使用已解决xcode问题的即时消息!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM