Home > Wheel Picker


SwiftUI Wheel Pickerの使用方法

基本的なWheel Pickerの作成方法:import SwiftUI struct ContentView: View { @State private var selectedOption = 0 let options = ["選択肢1", "選択肢2", "選択肢3", "選択肢4"] var body: some View { VStack { Text("選択したオプション: \(options[selectedOption])") Picker(selection: $selectedOp>>More