Creating a floating menu in an iOS application

前端 未结 3 767
轻奢々
轻奢々 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:01

    You could use view controller containment. The menu can be its own view controller with its view laid transparently over top the content view controller.

    For example this can be set up in the storyboard by dragging out two container views into a vanilla view controller.

提交回复
热议问题