DNB5brims
DNB5brims

Reputation: 30618

How to get the QLPreviewView's content size?

I would like to know how I can get the QLPreviewView content size? It seems that the API doesn't have any methods to get it. Thanks.

Upvotes: 1

Views: 282

Answers (1)

Tancrede Chazallet
Tancrede Chazallet

Reputation: 7255

QLPreviewView won't give you that.

But since you are supposed to give QuickLook a path to reach files, you can get yourself size of them with file manager.

Take a look at this topic for example.

Upvotes: 2

Related Questions