create a popMenu(气泡菜单) for you app
!修改自https://github.com/liufengting/FTPopOverMenu 以适应工程,修改了箭头顶部的弧度
pod 'SXPopMenu', '~>1.1.0'
pod 'SXPopMenu', '~>1.2.0'
头文件#import "FTPopOverMenu.h"
/**
* show method with SenderFrame with imageNameArray
*
* @param senderFrame senderFrame
* @param menuArray menuArray
* @param imageNameArray imageNameArray
* @param doneBlock doneBlock
* @param dismissBlock dismissBlock
*/
+ (void) showFromSenderFrame:(CGRect )senderFrame
withMenu:(NSArray<NSString*> *)menuArray
imageNameArray:(NSArray<NSString*> *)imageNameArray
doneBlock:(FTPopOverMenuDoneBlock)doneBlock
dismissBlock:(FTPopOverMenuDismissBlock)dismissBlock;
/**
* show method with SenderFrame with imageNameArray
*
* @param senderFrame senderFrame
* @param menuArray menuArray
* @param imageNameArray imageNameArray
* @param doneBlock doneBlock
* @param dismissBlock dismissBlock
*/
+ (void)showNoneArrowFromSenderFrame:(CGRect)senderFrame
withMenu:(NSArray<NSString *> *)menuArray
imageNameArray:(NSArray<NSString *> *)imageNameArray
doneBlock:(FTPopOverMenuDoneBlock)doneBlock
dismissBlock:(FTPopOverMenuDismissBlock)dismissBlock;