开发者

Navigation between multiple windows in cocoa?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜