79308174

Date: 2024-12-25 18:52:24
Score: 2
Natty:
Report link

I have the same problem with Xcode Version 16.2 (16C5032a) and none of the proposed solutions works. I solved it by simply adding a line to the path going from top to bottom: just after the segments.forEach loop:

                path.move(
                    to: CGPoint(
                        x: width * 0.5 + xOffset,
                        y: 0                        )
                )
                path.addLine(
                    to: CGPoint(
                        x: width * 0.5 + xOffset,
                        y: height
                    )
                )
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Whitelisted phrase (-2): I solved
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Riff