liufengting / FTPopOverMenu

FTPopOverMenu is a pop over menu for iOS which is maybe the easiest one to use. Supports both portrait and landscape. It can show from any UIView, any UIBarButtonItem and any CGRect.
MIT License
1.04k stars 171 forks source link

如何调整宽度 #50

Closed KennyHito closed 3 years ago

KennyHito commented 4 years ago

现在调整frame 的width 没有不管用 请问作者如何操作

liufengting commented 4 years ago

@NSLog-YuHaitao

FTPopOverMenuConfiguration *configuration = [FTPopOverMenuConfiguration defaultConfiguration];
configuration.menuRowHeight = ...
configuration.menuWidth = ...