简体   繁体   English

如何在所有视图控制器中禁用自动调整大小

[英]how to disable auto resizing in all view controllers

I have to remove the auto-resizing applied on all view controllers in my project. 我必须删除项目中所有视图控制器上应用的自动调整大小。 Is there a way to disable auto-resizing applied on all view controllers. 有没有一种方法可以禁用应用于所有视图控制器的自动调整大小。

You are able to Disable **Autolayout** in view controller But there is no direct way to disable **Auto-Resizing** in iOS. 

You need to manage PIN in **Auto-Resizing**. Set appropriate PIN of relevant object. Please review attached screenshot for **Auto-Resizing**.

Happy Coding! :)

在此处输入图片说明

You can do it from storyboard by selecting auto layout 您可以通过选择自动布局从情节提要中进行操作

描述

选择使用自动版面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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