Post

Replies

Boosts

Views

Activity

Reply to Allow Catalyst UIWindow resizable to smaller than default
As from this stackOverFlow question You need to add this code in App Delegate or Scene Delegate for swiftUI If you set sizeRestrictions.maximumSize and sizeRestrictions.minimumSize to the same value, the window will not be resizable. To do so, just call this in your application:didFinishLaunchingWithOptions method (if you're using UIKit): UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }.forEach { windowScene in windowScene.sizeRestrictions?.minimumSize = CGSize(width: 480, height: 640) windowScene.sizeRestrictions?.maximumSize = CGSize(width: 480, height: 640) } Note: You need to run this in OSX 10.15 Beta 5 or later, otherwise it will crash
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’22
Reply to Could not download IOS Simulator Xcode 12.4
I also faced same issue Run xCode using sudo /Applications/Xcode.app/Contents/MacOS/Xcode from terminal and then download the simulator My issue was fixed
Replies
Boosts
Views
Activity
Feb ’22
Reply to Allow Catalyst UIWindow resizable to smaller than default
As from this stackOverFlow question You need to add this code in App Delegate or Scene Delegate for swiftUI If you set sizeRestrictions.maximumSize and sizeRestrictions.minimumSize to the same value, the window will not be resizable. To do so, just call this in your application:didFinishLaunchingWithOptions method (if you're using UIKit): UIApplication.shared.connectedScenes.compactMap { $0 as? UIWindowScene }.forEach { windowScene in windowScene.sizeRestrictions?.minimumSize = CGSize(width: 480, height: 640) windowScene.sizeRestrictions?.maximumSize = CGSize(width: 480, height: 640) } Note: You need to run this in OSX 10.15 Beta 5 or later, otherwise it will crash
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to auto-renewable subscription option missing
If you don't see the Auto-Renewable Subscription option, ensure your developer account has accepted all applicable contracts and have provided tax and banking information in the 'Agreements, Tax, and Banking' section of App Store Connect.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’21