English 中文(简体)
Segue到多方意见的故事片
原标题:Storyboard Segue to Multiple Views?

I am setting up a bunch of view controllers in my storyboard and have a Next button.

然而,我的故事板赢得了允许。 举例说,如果符合某些标准,则下一个纽州将采用另一种观点,如果不是的话。

任何帮助都非常赞赏实现这一目标。

感谢。

最佳回答

你们需要从你们的观察控制者而不是从纽特人那里创建两个gues。 在故事板上,从观察控制者到你想要先到哪里去控制。 Repeat for the other segue. 每一栖息地的浮标,并给它们独特的识别符号(用于这一衰变的1型和“egue2”)。

接着,由您提出主意。 你们需要为座子采取行动。

-(void)buttonPressed:(UIButton*)sender{
   if(criteria met){
        [self performSegueWithIdentifier:@"segue1" sender:self];
     }
   else {
        [self performSegueWithIdentifier:@"segue2" sender:self];
   }
 }

在本案中,性别归属是自私的,因为它是产生先质而不是直线的视力控制器。 你们还需要开展准备工作。

问题回答

暂无回答




相关问题
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, ...

热门标签