I want to implement a auto complete feature for a drawing app. Once a free hand object is drawn, I want to detect the type of object (circle/rectangle/triangle) and based on
You can iterate through UIBezierPath points with CGPathApply(..) method. Look here for example.
UIBezierPath
CGPathApply(..)
But you should determine shape type somehow - it's mathematical task and approach depends on your input data.