you can use this popView in iPhone like UIPopoverController in iPad do!
//必须用该方法来返回对象
//you must use this method to init
+(instancetype)LYDPopoverViewWithSize:(CGSize)size andFromView:(CGRect)frame andDirection:(LYDPopoverViewDirection)direction;
//用该方法来让控件出现在屏幕上
//use this method to show it in screen
-(void)show;
myEmail:https://d3cdmznxspfqcz.cloudfront.net/obie
If you find out any bug or have any advices,hope you can send a email to me! I will be very grateful to you^_^ 如果你发现有任何bug或者有什么好的修改建议,希望你能发邮件告诉我,我会很感激你,谢谢!