Search code examples
objective-cmacoscocoaquicklook

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.


Solution

  • 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.