Dear friends,
I am trying to use IOS18 API for TabView.
Below code works well on simulator Iphone 16 Pro Max.
But, it failed to show UI on simulator Ipad Pro 13
.
TabView(selection: $selectedTab) {
Tab("Test1", systemImage: "bubble.left.and.bubble.right", value: .translation) {
TestViewOne()
}
Tab("Test2", systemImage: "character.textbox", value: .ruby) {
TestViewTwo()
}
Tab("Test3", systemImage: "person.crop.circle", value: .browser) {
TestViewThree()
}
}
There are 3 tabs, none of them can show the view (TestViewOne TestViewTwo TestViewThree ) until pressing button 4 (red 4 in the attached image). The view could show in the sidebar area instead of normal UI area, Is there any suggestions for this?
thank you very much!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Dear my friends,
I have set up two subscriptions (monthly and annual) in App Store Connect. By configuring with StoreKit, I can import the configurations from App Store Connect into the local .storekit file, and the program can
run normally. However, when the StoreKit configuration is set to NONE, I am unable to retrieve product information from App Store Connect.
The code for fetching the product list is as follows. Could you please provide suggestions on how to proceed? Thank you very much!
private let productIds: [String] = ["subscription.year", "subscription.monthly"]
subscriptions = try await Product.products(for: productIds)