I have the same behavior when trying to install iOS 17 developer beta to my iPhone 14 Pro Max. No idea what's the issue.
Post
Replies
Boosts
Views
Activity
this is also interesting:
https://developer.apple.com/forums/thread/690959
I am the developer of the app and there happens nothing in didFinishLaunching. Besides, if I deploy the .ipa directly to my device, all works fine (as well as in iOS14)
And there was already kind of this problem in iOS14.2
I noticed the same behavior and furthermore since iOS13 beta 5 my App crashes when I display two pickers in one list and try to select value from the second one. Any idea why?
View to reproduce:
struct ContentView: View {
@State private var selected1 = 0
@State private var selected2 = 0
@State private var showPicker1 = false
@State private var showPicker2 = false
var body: some View {
NavigationView {
List {
HStack {
Text("Picker 1")
Spacer()
Text("\(selected1)").foregroundColor(.secondary)
}
.onTapGesture {
withAnimation {
self.showPicker1.toggle()
}
}
if showPicker1 {
Picker("", selection: $selected1) {
ForEach(1..<5) { idx in
Text("\(idx)").tag(idx)
}
}
.pickerStyle(.wheel)
.clipped()
}
HStack {
Text("Picker 2")
Spacer()
Text("\(selected2)").foregroundColor(.secondary)
}
.onTapGesture {
withAnimation {
self.showPicker2.toggle()
}
}
if showPicker2 {
Picker("", selection: $selected2) {
ForEach(1..<15) { idx in
Text("\(idx)").tag(idx)
}
}
.pickerStyle(.wheel)
.clipped()
}
}
.listStyle(.inset)
.navigationTitle("Picker")
}
}
}