Creating a floating menu in an iOS application

前端 未结 3 763
轻奢々
轻奢々 2021-01-07 02:16

Looking to create a floating menu in Swift for an iOS application I am developing. Something along the lines of the little red circle menu as shown in the following image. <

3条回答
  •  隐瞒了意图╮
    2021-01-07 03:06

    There is another alternative with this great library :

    https://github.com/yoavlt/LiquidFloatingActionButton

    You just have to implement the delegate and the dataSource in your ViewController:

    let floatingActionButton = LiquidFloatingActionButton(frame: floatingFrame)
    floatingActionButton.dataSource = self
    floatingActionButton.delegate = self
    

提交回复
热议问题