腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(301)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
_
UILayoutGuide
bottomLayoutGuide长度为零
我在
UILayoutGuide
中遇到了一个非常奇怪的行为。bottomLayoutGuide.length在传递length属性消息时返回0。同时,在控制台中打印bottomLayoutGuide将返回以下内容:它清楚地说明了
UILayoutGuide
的框架长度是455。通过直接打印长度 p [((_
UILayoutGuid
浏览 3
提问于2013-10-16
得票数 0
3
回答
_
UILayoutGuide
是什么?
我需要了解_
UILayoutGuide
,比如它是什么,它做什么,以及为什么它在UIView的层次结构中呈现为几乎总是带有frame = (0,0,0,0)的subview。
浏览 2
提问于2013-10-23
得票数 13
回答已采纳
1
回答
20 px高度的
UILayoutGuide
我打印出视图控制器视图的子视图,发现有一个高度为20 px的“
UILayoutGuide
”(我猜是顶部)。是因为红色的子视图没有将其顶部与超级视图对齐吗?
浏览 2
提问于2016-02-02
得票数 0
回答已采纳
1
回答
如何在界面生成器中创建
UILayoutGuide
?
我想在Interface中创建一个
UILayoutGuide
。我可以用代码创建
UILayoutGuide
。我正在使用Xcode 7 beta。如何在Interface中创建
UILayoutGuide
?
浏览 1
修改于2015-09-11
得票数 38
回答已采纳
1
回答
在UICollectionViewCell中使用
UILayoutGuide
设置UILabel的垂直位置
我对
UILayoutGuide
完全陌生。我想在imageView下面的空白处放置一个UILabel,它是imageView和UILabel的superview (参见下面的视图层次结构)。override func awakeFromNib() { let topGuide =
UILayoutGuide
() let bottomGuide =
UILayoutGuid
浏览 8
提问于2017-08-29
得票数 1
1
回答
发送给已分配实例iOS [_
UILayoutGuide
isDescendantOfView:]的消息:
我在控制台上得到了以下信息:并利用僵尸试图追踪到这一点:我找不到问题的根源
浏览 2
提问于2015-02-24
得票数 3
回答已采纳
2
回答
在Swift中,如何在视图控制器中找到
UILayoutGuide
对象?
但是,第一个按钮引起了问题,我认为是因为有一些
UILayoutGuide
对象也有标记0。可选(0 )- _
UILayoutGuide
: 0x7ff3e263ee80;帧= ( 0;0);隐藏=是;层= CALayer: 0x600000035bc0可选
浏览 0
修改于2016-10-02
得票数 1
回答已采纳
1
回答
为什么子视图数组中的
UILayoutGuide
顺序不一致?
UIView: 0x178173740; frame = (0 956; 768 68); autoresize = TM+BM; layer = <CALayer: 0x1782375a0>>,<_
UILayoutGuide
: 0x170199570现在,我已经实现了这个方法,这样我就可以对它调用lastObject
浏览 2
修改于2014-04-19
得票数 1
1
回答
在序列图像板上启用了自动布局,但我仍然获得AutolayoutMaskContraints
UIView property translatesAutoresizingMaskIntoConstraints) "<NSLayoutConstraint:0xdca62c0 V:[_
UILayoutGuide
0xdca7310]-(201)-[UIView:0xcc69170]>", &
浏览 1
修改于2014-03-28
得票数 0
2
回答
iOS Autolayout将标签放在图像的顶部
UIView property translatesAutoresizingMaskIntoConstraints) "<NSLayoutConstraint:0x7aec77f0 V:[_
UILayoutGuide
Tricks']>", "<NSLayoutConstraint:0x7aec78b0 V:[UILabel:0x7aec6ca0'Over 200 Tips and Tricks']-(20)-[_
UILayoutGuide
:0x7aec7440
浏览 5
修改于2015-09-18
得票数 0
回答已采纳
2
回答
设置UIView的layoutMargins不起作用
UITableView:0x79b51a00.leading == UIView:0x7896e470.leadingMargin - 16>,<NSLayoutConstraint:0x7896e9d0 V:[UITableView:0x79b51a00]-(0)-[_
UILayoutGuide
:0x7896e600]>, <_UILayo
浏览 0
修改于2016-06-22
得票数 23
回答已采纳
1
回答
导致约束冲突的iAd
显然,这些是相互冲突的约束: "<_UILayoutSupportConstraint:0x7fc9a0431200 V:[_
UILayoutGuide
:0x7fc9a0587fc0(0)]>", &qu
浏览 0
修改于2015-10-16
得票数 0
2
回答
为什么为所有四方添加约束会导致错误?
UIView property translatesAutoresizingMaskIntoConstraints) "<_UILayoutSupportConstraint:0x9f494b0 V:[_
UILayoutGuide
:0x9f40370(20)]>", "<_UILayoutSupportConstraint:0x9f3b6c0 V:|-(0)-[_
UILayoutGuide
:0x9f40370] (Names: '|':UIView:0x9f3feb0 )>&
浏览 2
修改于2015-08-11
得票数 1
1
回答
新的iPhone developer错误
the UIView property translatesAutoresizingMaskIntoConstraints) "<NSLayoutConstraint:0x8e9b760 V:[_
UILayoutGuide
0x8e876a0]-(253)-[UILabel:0x8e99cc0]>","&
浏览 0
修改于2014-09-03
得票数 0
1
回答
什么时候打电话给UIView.didAddSubview?
下面是日志输出 <_
UILayoutGuide
: 0x7f92d3425210; frame = (0 0; 0 0); hidden = YES; layer = <CALayer: 0x7f92d3419cf0>> <_
UILayoutGuide
: 0x7f92d3425c10; frame = (0 0; 0 0); hidden = YES;layer = <CALayer: 0x7f92d34244a0>> [
浏览 12
提问于2014-10-16
得票数 0
回答已采纳
3
回答
为什么我会收到一条错误消息:“无法同时满足约束条件。”用于自动布局?
UIView property translatesAutoresizingMaskIntoConstraints) "<_UILayoutSupportConstraint:0x9f494b0 V:[_
UILayoutGuide
:0x9f40370(20)]>", "<_UILayoutSupportConstraint:0x9f3b6c0 V:|-(0)-[_
UILayoutGuide
:0x9f40370] (Names: '|':UIView:0x9f3feb0 )>&
浏览 2
修改于2015-08-08
得票数 2
1
回答
删除列表UICollectionView单元格分隔符
( "<NSLayoutConstraint:0x600002364b90
UILayoutGuide
:0x60000390a060'UICollectionViewListCellSeparatorLayoutGuide<NSLayoutConstraint:0x600002364730 'UICollectionViewListCell-height-separatorLayoutGuide-constraint‘
UILayoutGuide
<NSLayoutConstraint:0x600002364730
浏览 13
提问于2021-03-04
得票数 1
回答已采纳
1
回答
约束问题
'.bottom (active)>", "<NSLayoutConstraint:0x28234fe30 'UIViewSafeAreaLayoutGuide-top' V:|-(44)-[
UILayoutGuide
'.bottom (
浏览 7
提问于2020-06-23
得票数 1
回答已采纳
1
回答
如何在Visual中删除调试器建议的约束
("<_UILayoutSupportConstraint:0x60000137a120 V:|-(0)-[_
UILayoutGuide
:0x7fe7bf425640] (active, names: '|':UIView:0x7fe7bf425460 )>", &quo
浏览 0
提问于2019-01-30
得票数 0
回答已采纳
1
回答
找不到NSLayoutConstraint
<_UILayoutSupportConstraint:0x1702ace40 V:[_
UILayoutGuide
:0x1701a7540(0)]><_UILayoutSupportConstraint:0x1702acf00 V:[_
UILayoutGuide
:0x
浏览 1
提问于2014-10-28
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券