iPhone how do i make two connected line to follow to the position?
问题 I made the tail of speech bubble using core graphic and The tail part of the speech buble supposed to move to any point as i want. The problem is when the tail's end part(the pointy part) is downward it works fine. But when the bubble is upside down, like the bubble part is on the bottom the tail part is on the top, the tail part's 2 connected line crosses each other and form a X, when it supposed to be like /\ can someonle please help me? double angle(CGPoint p1, CGPoint p2) { //BOOL bRev =