Post

Replies

Boosts

Views

Activity

Reply to Check if iOS 14 is available in SwiftUI body
Also running into this issue: extension View {  func listRow() -> some View {   let view = self    .frame(maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .leading)       if #available(iOS 15, *) {    return AnyView(view.listRowSeparatorVisibility(.hidden).listRowInsets(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0)))   }       return AnyView(view.listRowInsets(EdgeInsets(top: -1, leading: 0, bottom: -1, trailing: 0)))  } } This crashes, among other approaches as well
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’21
Reply to Sign In With Apple not working with Xcode 12 beta on simulator ?
This is still an issue in Xcode 13 w/ iOS 15. How do they expect us to build Apple Sign In apps if we can't run them on the simulator at all?
Replies
Boosts
Views
Activity
Jul ’21
Reply to Check if iOS 14 is available in SwiftUI body
Also running into this issue: extension View {  func listRow() -> some View {   let view = self    .frame(maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .leading)       if #available(iOS 15, *) {    return AnyView(view.listRowSeparatorVisibility(.hidden).listRowInsets(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0)))   }       return AnyView(view.listRowInsets(EdgeInsets(top: -1, leading: 0, bottom: -1, trailing: 0)))  } } This crashes, among other approaches as well
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’21