Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

활동상세 collection view hidden autolayout #155

Open
didwodnr123 opened this issue Oct 2, 2020 · 1 comment · Fixed by #165
Open

활동상세 collection view hidden autolayout #155

didwodnr123 opened this issue Oct 2, 2020 · 1 comment · Fixed by #165
Assignees
Labels
UI UI issue

Comments

@didwodnr123
Copy link
Contributor

활동상세 컬렉션뷰 히든

  • 히든과 동시에 오토레이아웃 줄어들게 만들기
@didwodnr123 didwodnr123 added the UI UI issue label Oct 2, 2020
@didwodnr123 didwodnr123 added this to the sprint 1차 버그잡기 milestone Oct 2, 2020
@didwodnr123 didwodnr123 self-assigned this Oct 2, 2020
@choidam choidam linked a pull request Oct 4, 2020 that will close this issue
@choidam
Copy link
Member

choidam commented Oct 4, 2020

@didwodnr123

오토 레이아웃을 IBOutlet 으로 빼고 히든할 때 constant 값 수정하면 됨!

@IBOutlet weak var hashtagTopConstraint: NSLayoutConstraint!
if self.displayDetailList.count == 0 {
   self.subImgCollectionView.isHidden = true
   self.hashtagTopConstraint.constant = 20
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI UI issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants