
主要变更: 1. 新增 EPImageUploader.swift 和 EPProgressHUD.swift,提供图片批量上传和进度显示功能。 2. 新建 EPMomentAPISwiftHelper.swift,封装动态 API 的 Swift 版本。 3. 更新 EPMomentPublishViewController,集成新上传功能并实现发布成功通知。 4. 创建多个文档,包括实施报告、检查清单和快速使用指南,详细记录功能实现和使用方法。 5. 更新 Bridging Header,确保 Swift 和 Objective-C 代码的互操作性。 此功能旨在提升用户体验,简化动态发布流程,并提供清晰的文档支持。
25 lines
1.7 KiB
Plaintext
25 lines
1.7 KiB
Plaintext
Unable to simultaneously satisfy constraints.
|
|
Probably at least one of the constraints in the following list is one you don't want.
|
|
Try this:
|
|
(1) look at each constraint and try to figure out which you don't expect;
|
|
(2) find the code that added the unwanted constraint or constraints and fix it.
|
|
(
|
|
"<MASLayoutConstraint:0x13582c600 UIView:0x120778a80.top == UITableViewCellContentView:0x1211ebd40.top + 8>",
|
|
"<MASLayoutConstraint:0x13582c660 UIView:0x120778a80.bottom == UITableViewCellContentView:0x1211ebd40.bottom - 8>",
|
|
"<MASLayoutConstraint:0x13582cc00 NetImageView:0x120c2e080.top == UIView:0x120778a80.top + 15>",
|
|
"<MASLayoutConstraint:0x13582cd20 NetImageView:0x120c2e080.height == 40>",
|
|
|
|
"<MASLayoutConstraint:0x13582e160 UILabel:0x135805c00.top == NetImageView:0x120c2e080.bottom + 12>",
|
|
"<MASLayoutConstraint:0x135a666a0 UIView:0x12077b480.top == UILabel:0x135805c00.bottom + 12>",
|
|
"<MASLayoutConstraint:0x13582e700 UIView:0x120778c00.top == UIView:0x12077b480.bottom + 12>",
|
|
"<MASLayoutConstraint:0x13582e760 UIView:0x120778c00.height == 50>",
|
|
"<MASLayoutConstraint:0x13582e7c0 UIView:0x120778c00.bottom == UIView:0x120778a80.bottom - 8>",
|
|
"<MASLayoutConstraint:0x135a66100 UIView:0x12077b480.height == 114>",
|
|
"<NSLayoutConstraint:0x13584a440 UITableViewCellContentView:0x1211ebd40.height == 171>"
|
|
)
|
|
|
|
Will attempt to recover by breaking constraint
|
|
<MASLayoutConstraint:0x135a66100 UIView:0x12077b480.height == 114>
|
|
|
|
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
|
|
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. |