How to resize NSTextView according to its content?
- by Miraaj
Hi all,
I want to set simple html contents within a web view and then resize it according to its content.
To set simple html contents within web view I used this code and it is working fine:
[[myWebView mainFrame] loadHTMLString:webViewContents baseURL:baseURLFramed];
but I am not getting any clue on resizing web view according to its content.
Can anyone suggest me some solution for it?
Thanks,
Miraaj