开发者

Navigation between multiple windows in cocoa?

开发者 https://www.devze.com 2023-02-24 09:28 出处:网络
navigate windows each other within same space. when button pressed in one window replaced by next window at this place开发者_开发技巧 or navigate windows like in ipod navigation based app.It is window

navigate windows each other within same space. when button pressed in one window replaced by next window at this place开发者_开发技巧 or navigate windows like in ipod navigation based app.


It is window or view? This answer is for navigating in views

For navigating between the different views you have to use UINavigation controller http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html


Using this code you navigate from current XIB to another.

viewObject *objExm=[[viewObject alloc]init]; [self.view addSubView:objExam.view]


Take a look at the NSWindow documentation, especially frame, setFrame:, and makeKeyAndOrderFront:

0

精彩评论

暂无评论...
验证码 换一张
取 消