I am using the SubscriptionStoreView in my app including links to the privacy policy and terms of service.
However, when clicking the links the displayed sheet is too wide, effectively cutting of the sides (including the done button). This prevents closing the sheet.
Am I doing something wrong here, or is this a bug?
Minimal example code:
import SwiftUI
import StoreKit
struct SwiftUIView: View {
var body: some View {
SubscriptionStoreView(groupID: EntitlementManager.subscriptionGroupID)
.subscriptionStorePolicyDestination(url: AppConfig.privacyPolicyURL, for: .privacyPolicy)
.subscriptionStorePolicyDestination(url: AppConfig.termsOfServiceURL, for: .termsOfService)
}
}
#Preview {
SwiftUIView()
}
Screenshot: