我已将线视图添加到一个内容视图,同时添加内容视图,我设置UIViewAutoResizingMask
了,但我的视图正在切换到父视图几分钟。
lineView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleLeftMargin|UIViewAutoresizingFlexibleRightMargin;
我已将线视图添加到一个内容视图,同时添加内容视图,我设置UIViewAutoResizingMask
了,但我的视图正在切换到父视图几分钟。
lineView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleLeftMargin|UIViewAutoresizingFlexibleRightMargin;