Added the @selector(presentPopoverInView:permittedArrowDirections:animated) method to the UIPopoverController class. Implemented the UIViewGetFrame() function.