Post

Replies

Boosts

Views

Activity

Reply to SwiftUI ScrollView is not flipped in RTL
Thanks for update Adel, I change your code below, import SwiftUI struct ScrollViewRTL<Content: View>: View {   @ViewBuilder var content: Content   @Environment(\.layoutDirection) private var layoutDirection   var type: RowType       init(type: RowType, @ViewBuilder content: () -> Content) {     self.type = type     self.content = content()   }       @ViewBuilder var body: some View {     ScrollView(type.scrollAxis, showsIndicators: false) {       content         .rotation3DEffect(Angle(degrees: layoutDirection == .rightToLeft ? -180 : 0), axis: (           x: CGFloat(0),           y: CGFloat(layoutDirection == .rightToLeft ? -10 : 0),           z: CGFloat(0)))             }     .rotation3DEffect(Angle(degrees: layoutDirection == .rightToLeft ? 180 : 0), axis: (       x: CGFloat(0),       y: CGFloat(layoutDirection == .rightToLeft ? 10 : 0),       z: CGFloat(0)))   } } public enum RowType {   case hList   case vList       var scrollAxis: Axis.Set {     switch self {     case .hList:       return .horizontal             case .vList:       return .vertical     }   } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to Suddenly receiving error 21002 from verifyReceipt endpoint for sandbox receipt
I have same issue with tvOS, kindly advice ?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Xcode Cloud builds failing with random 502 errors when resolving packages
Same
Replies
Boosts
Views
Activity
May ’24
Reply to Offset on tap items when reopening app with a sheet open
sad situation. The product team wants the page to be opened as a sheet instead of a full screen cover, but we faced a lot of problems. We solved it by giving navigationview .id() but in this case, since the scroll in the nagitaion view was redrawn, it moved the page from the bottom to the top.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Offset on tap items when reopening app with a sheet open
@Benzy_Neez thank you for the great solution. It fixed our issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to My App Rejected 4.3 Design: Spam
I finally got rid of this problem. In my application, lastly, I was making a city search using Mapkit. I was showing the location of the word the user was searching for on the screen as a map. They agreed to delete the map.
Replies
Boosts
Views
Activity
Jun ’23
Reply to My App Rejected 4.3 Design: Spam
I have the same issue. I gave hours to develop, but getting this result lost my motivation.
Replies
Boosts
Views
Activity
Jun ’23
Reply to Sandbox Testers page is stuck with the error message
I have same issue :(
Replies
Boosts
Views
Activity
May ’23
Reply to SwiftUI ScrollView is not flipped in RTL
Thanks for update Adel, I change your code below, import SwiftUI struct ScrollViewRTL<Content: View>: View {   @ViewBuilder var content: Content   @Environment(\.layoutDirection) private var layoutDirection   var type: RowType       init(type: RowType, @ViewBuilder content: () -> Content) {     self.type = type     self.content = content()   }       @ViewBuilder var body: some View {     ScrollView(type.scrollAxis, showsIndicators: false) {       content         .rotation3DEffect(Angle(degrees: layoutDirection == .rightToLeft ? -180 : 0), axis: (           x: CGFloat(0),           y: CGFloat(layoutDirection == .rightToLeft ? -10 : 0),           z: CGFloat(0)))             }     .rotation3DEffect(Angle(degrees: layoutDirection == .rightToLeft ? 180 : 0), axis: (       x: CGFloat(0),       y: CGFloat(layoutDirection == .rightToLeft ? 10 : 0),       z: CGFloat(0)))   } } public enum RowType {   case hList   case vList       var scrollAxis: Axis.Set {     switch self {     case .hList:       return .horizontal             case .vList:       return .vertical     }   } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22