Post

Replies

Boosts

Views

Activity

Reply to SubscriptionStoreView policy sheet too large
I managed to fix this by wrapping the SubscriptionStoreView in a GeometryReader the displaying the links in a WebView using geometry.size.width .subscriptionStorePolicyDestination(for: .privacyPolicy, destination: { WebView(url: URL(string: "https://yourURL.com/policy.html")!) .frame(maxWidth: geometry.size.width) .padding(.bottom, -50) }) the padding removes a blank bit at the bottom of the view import WebKit import SwiftUI struct WebView: UIViewRepresentable { var url: URL func makeUIView(context: Context) -> WKWebView { let wKWebView = WKWebView(frame: .zero) return wKWebView } func updateUIView(_ webView: WKWebView, context: Context) { let request = URLRequest(url: url) webView.load(request) } }
2w
Reply to SubscriptionStoreView policy sheet too large
I'm trying to get an app through review at the moment and had it declined because they said I hadn't linked to the terms and policy etc. Even though I used a VStack to show the links on the StoreView and they looked identical to the ones in subscriptionStorePolicyDestination. A solution or fix to this would be great
2w