Auto Layout 使用约束(Constraints)定义 UI 元素的位置和大小,适配不同屏幕尺寸,配合 NSLayoutConstraint 或 Storyboard 可实现响应式布局。
2024-11-29
浏览61
登录后评论
1
分享