English 中文(简体)
审计长办公室 详细到硕士何时是UITab BarController?
原标题:Segue from UISplitViewController Detail to Master When Master is a UITabBarController?

我想从细节(地图观点)到主人(UITab BarController)挑选通知时的第一个表格。 第一个表格是我想更新的表格。

如果我坐下来就坐在桌旁,使用一种替代的排气风格,那么我就失去了tab。 如果我选择推车,我会遇到一个错误,即接收器不是导航控制器。

我想我会 se上表层的酒吧控制器,在地图上打上ean子,然后通过gues头赶上我想要的东西(表格观点)或使用 app子,但如果能够,我就喜欢一种更明智的解决办法。

最佳回答

If I m understanding your requirement correctly you have a UITabBarController with some tabs, that then wants to push a detail (map) view on top of it temporarily. When the map view is dismissed, you would like to go back to the same initial UITabBarController?

为此,更好的解决办法是把地图视为“Modal”,在这种情况下,它将接管屏幕。 就像你不能从自己中解脱模式屏幕那样谨慎——这首先需要从观察控制器中理想地排除。 例如,准备工作 推进模式观点控制器的那类代人法,可转而提及自己或使用代表:

[modalViewController setParent:self];

Then within the modal class, when some button or other event triggers the dismissal, you can have:

[parent.modalViewController dismissModalViewControllerAnimated:YES];

见:

问题回答

暂无回答




相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签