79161956

Date: 2024-11-06 09:21:17
Score: 0.5
Natty:
Report link

As I run your code test, I think the problem occurs when your cellStackView is in safe area. Add this line of code to in your for loop to fix the issue:

cellStackView.insetsLayoutMarginsFromSafeArea = false

Default of insetsLayoutMarginsFromSafeArea is true so UIKit will add aditional value for any margins are in safe area.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: duckSern1108