如何自动布局应用程序并将其部署到应用程序商店 [英] How to Auto-layout and deploy app to app store

查看:34
本文介绍了如何自动布局应用程序并将其部署到应用程序商店的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 IOS 开发的新手.我正在学习纵向和横向所有设备的自动布局.

当我对视图或任何控件应用约束时,它会给我不明确的布局或任何其他警告的警告,但在运行时它看起来很完美.请给我链接来学习和参考自动布局.

所以,我想知道:-

1) 我的应用故事板中的每个设备屏幕尺寸都有多个故事板,将根据设备的屏幕尺寸加载 根据屏幕大小加载故事板(如果我将应用部署到应用商店,这是否合法?)

2) 如果我有任何编码警告或布局警告,苹果会接受它在应用商店中部署吗?以及将应用部署到应用商店的规则是什么.

如果我问错了,请见谅.

谢谢...

解决方案

1) Apple 没有问题,您有多个 Storyboard,他们不会因此拒绝您的应用.

2) Apple 不会根据编译器/代码或布局警告拒绝您的应用.摆脱警告总是一个好习惯,因为它们存在是有原因的.要遵循的规则和指南列在 App Store 审核指南中>

当我学习为 iOS 开发时,Ray Wenderlich 的教程对我帮助很大.例如 这个自动布局教程可能会帮助您入门.

I am new in IOS Development.I am learning auto layout for all device in portrait and landscape.

When I apply constraint to view or any controls it gives me warning for Ambiguous Layouts or any other warnings but in run time it looks perfect. Please give me links to study and refer for autolayout.

So, I want to know that:-

1) I have multi storyboard for each device screensize in my app storyboard will load as per screensize of device Load storyboard depending on screensize (Is this legal if I deploy app to app store ?)

2) if I have any coding warning or layout warning will apple accept it to deploy in app store ? And what are the rules to deploy an app to app store.

Please forgive me if I have put wrong question.

Thank you...

解决方案

1) It's no problem for Apple that you have multiple Storyboards and they'll not reject your app because of it.

2) Apple will not reject your app based on compiler/code or layout warnings. It's always a good practice to get rid of the warnings though as they are there for a reason. The rules and guidelines to follow are listed in the App Store Review Guidelines

When I learned to develop for iOS the tutorials from Ray Wenderlich helped me a lot. For example this Auto Layout Tutorial will probably help you get started.

这篇关于如何自动布局应用程序并将其部署到应用程序商店的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆