[英]How to get current NSView in Cocoa?
我正在從應用程序更改內容視圖
[window setContentView:otherView];
[window setContentView:otherView2]; //etc
我需要什么才能始終獲得當前的Content View,我該怎么做呢? [window myCurrentContentView]; 或window.view,我找不到它。 謝謝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.