preferredPresentationSize
The ideal presentation size of the item.
Declaration
var preferredPresentationSize: CGSize { get set }var preferredPresentationSize: NSSize { get }Discussion
When displaying the item, the value in this property represents the ideal size at which to display the item. The size in this property may differ from the size in the sourceFrame rectangle. For images, video, and other content with a natural size, the item automatically derives the size from that content. If the value in this property is NSZeroSize, use the size specified in the sourceFrame rectangle.