سؤال

I use this line to open a url in browser.

[[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:url]];

I want to reduce the size of the window created by NSWorkspace.Is it possible programatically?

هل كانت مفيدة؟

المحلول

NSWorkspace does not provide any api to resize the window. But if you are using webview and loading the request inside that then you can resize that webview window.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top