Francesco 6/30/2023

Create Menus with Palette Picker in SwiftUI and UIKit

Read Original

This technical article explains how to use the new palette picker and menu style introduced in iOS 17 for both SwiftUI and UIKit. It provides code examples for creating compact, scrollable rows of menu options, covers the .displayAsPalette option in UIMenu, and details how to customize the selection effect in SwiftUI using .paletteSelectionEffect.

Create Menus with Palette Picker in SwiftUI and UIKit

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser