0
我正在製作一個標籤欄應用程序。在方法AppDelegate
- (無效)applicationDidBecomeActive我有一串代碼:所以每次當應用程序被激活,pass.view
出現時間回到AppDelegate
[self.window addSubview:pass.view];
。當用戶在此視圖中完成所有工作時,我想關閉此視圖並返回到AppDelegate
或應用程序中的任何選項卡。我如何從pass.view
返回?
完美! '[self.view removeFromSuperview]'適合我。謝謝奧斯卡! – SmartTree