문제

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