Change UIMenu title with multiple line (UIMenu with UIButton)

700 Views Asked by At

I added UIMenu to the UIButton.menu with long title, but menu show not full text. Is there anyway to change it to show full text ? thanks for help

 let _: [()] = (0...100).map {
            childdrens.append(UIAction(title: "This is a very very very very very very very very very long title \($0)", handler: {  _ in
            }))
        }
  longCapMenuButton = UIMenu(title: "", options: .displayInline, children: childdrens ) 
  longCapMenuButton.showsMenuAsPrimaryAction = true

Screenshot Attached below-

image

0

There are 0 best solutions below