Used Catalyst to port iOS app to MacOS, but Share Extension view is too small on MacOS Safari. The height needs to be changed, but self.preferredContentSize = NSSize(width: 200, height: 500) or CGSize(width: 200, height: 500) seems to not be called in viewDidLoad()
Any input helps, thanks.
ShareViewController.swift
Any input helps, thanks.
ShareViewController.swift
Code Block override func viewDidLoad() { super.viewDidLoad() #if targetEnvironment(macCatalyst) self.preferredConstenSize = NSSize(width: 200, height: 500) #else #endif }