forked from organicmaps/organicmaps
[ios] Fixed invalid constraint
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
8ab6ab2266
commit
654c26e6d1
2 changed files with 1 additions and 2 deletions
|
@ -109,6 +109,7 @@ NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
|
|||
- (void)showRegularPlacePage {
|
||||
self.placePageVC = [PlacePageBuilder build];
|
||||
self.placePageContainer.hidden = NO;
|
||||
self.placePageVC.view.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
[self.placePageContainer addSubview:self.placePageVC.view];
|
||||
[self.view bringSubviewToFront:self.placePageContainer];
|
||||
[NSLayoutConstraint activateConstraints:@[
|
||||
|
@ -117,7 +118,6 @@ NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
|
|||
[self.placePageVC.view.bottomAnchor constraintEqualToAnchor:self.placePageContainer.bottomAnchor],
|
||||
[self.placePageVC.view.rightAnchor constraintEqualToAnchor:self.placePageContainer.rightAnchor]
|
||||
]];
|
||||
self.placePageVC.view.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
[self addChildViewController:self.placePageVC];
|
||||
[self.placePageVC didMoveToParentViewController:self];
|
||||
}
|
||||
|
|
|
@ -803,7 +803,6 @@
|
|||
<constraint firstItem="A9s-da-nap" firstAttribute="leading" secondItem="2IW-oU-HLV" secondAttribute="leading" id="2E9-CD-9Tw"/>
|
||||
<constraint firstItem="EVy-Wt-5En" firstAttribute="centerY" secondItem="A9s-da-nap" secondAttribute="centerY" id="2O4-Ge-lKN"/>
|
||||
<constraint firstAttribute="trailing" secondItem="43E-TR-OSz" secondAttribute="trailing" id="ORJ-zz-5Od"/>
|
||||
<constraint firstItem="A9s-da-nap" firstAttribute="centerY" secondItem="2IW-oU-HLV" secondAttribute="centerYWithinMargins" id="SP4-I9-BrL"/>
|
||||
<constraint firstAttribute="trailing" secondItem="EVy-Wt-5En" secondAttribute="trailing" constant="8" id="VCX-dn-JVo"/>
|
||||
<constraint firstAttribute="bottom" secondItem="43E-TR-OSz" secondAttribute="bottom" id="YIW-PC-dgZ"/>
|
||||
<constraint firstItem="43E-TR-OSz" firstAttribute="leading" secondItem="A9s-da-nap" secondAttribute="trailing" id="bpy-jU-MhU"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue