我很熟悉建立一个新的观点控制员的想法,把它推向前进。 迄今为止,我刚刚创立了我的观察控制员的榜样,并推动了这一榜样。 现在,我遇到一个问题,即我的3位不同观点的控制者是研究数据的相关途径。 我的根基勒有3个ic子可以开张,当你对一只con子施加压力时,你将第一名观众推向控制员。 我目前并不把观点控制者放在一个阵列,因为我不敢确定什么东西可以买我,或者这如何奏效。
Scenario 1: Click on icon 1 (push vc1), Point at a table in a popover in vc1, it llrove to vc3. 然后,你点击 v3号的物品,然后用 v1号。
情景 2 Click on icon 3 (push vc3), Point on some and go to vc1.
So the problem I m having is in scenario 1, it would seem to make the most sense to pop back to vc1 so they don t have a stack of vc1/vc3/vc1 and are looking at the data twice like that. But in scenario 2, since I started at vc3 instd of vc1, I should push vc1. But in both scenarios, the user is clicking on the same thing to go to vc1 from vc3, so how do I tell which viewController they came from in order to push or pop to vc1?
因此,我猜测,在我的想法中,我会把发音机或波夫·汤普洛普勒编成手法,但我不敢肯定这些工作如何,如果有一些简单的例子可以让我开始(假设这种做法是ok的)。 感谢!