UIView surface Detection
        Posted  
        
            by 
                Sanjay Darshil
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sanjay Darshil
        
        
        
        Published on 2011-03-19T05:31:00Z
        Indexed on 
            2011/03/19
            8:10 UTC
        
        
        Read the original article
        Hit count: 249
        
In my code I crated two UIView View1 and View2 out of which View2 rotates on finger touch using CGAffineTransform and View1 is drawn like Arrow shaped (triangle) using CGContext. The View1 is steady view (fixed) which Points (shown directed Up) to the Surface of View2 , So I want to detect the View2 surface points when it stopped rotation and appears in front of the view1.
How can I made this possible to detect the UIView Surface when it appears in front of another UIView?
© Stack Overflow or respective owner