-1

Can anyone tell me what this sort of expandable toolbar, containing sliders, is called? I'm still a beginner in development and can't seem to find this views name, or any place where to learn it.

Thanks

George
  • 25,988
  • 10
  • 79
  • 133
Dince-afk
  • 196
  • 7
  • It is new thing in iOS, but you can easily make a custom one for yourself as well in SwiftUI. like this one: https://vm.tiktok.com/ZM8HFT9Pk/ I am developing it for myself need some more works to finished. – ios coder Nov 02 '21 at 03:34

2 Answers2

1

It is a modal/half sheet/popover not available in SwiftUI as a pre-built View.

You can add the sliders, tab view and segmented picker per your requirements to the modal.

There are many way to implement it.

in iOS 15 Apple has provided adaptiveSheetPresentationController so it can be implemented using UIKit.

SwiftUI - Half modal?

Here is a WWDC21 video too

There are other ways, the referenced question has many solutions.

lorem ipsum
  • 21,175
  • 5
  • 24
  • 48
0

As @loren Epsom said, its a half sheet, and as its not pre built view in SwiftUI, I recommend using this framework, if the nature of your work allow 3rd party frameworks, Partial Sheet

enter image description here

The setup is pretty straight forward, for example you can use something like:

.partialSheet(isPresented: $isSheetShown) {
    //Add the SwiftUI view that you want to appear in the partial sheet.
}

Read the How to Use

Hussein
  • 487
  • 6
  • 22