window with the password between Views

Total Post:96

 1303  View(s)
Rate this:

I'm using a storyboard with two Views. ("PasswordViewController" and "DestinationViewController")

In PasswordViewController I have a "Password" field and "OK" button.

Question: I cannot to set the "Segue" correctly from "OK" button to the "DestinationViewController". It must be opened only after the specific password, typed in the "Password" field otherwise it should n't do anything. How to do that?

  1. Post:51

    Re: window with the password between Views

    Both approaches are easy. Here is the code for Duncan's suggestion.

     - (IBAction)okButton:(id)sender
            if (passwordTextfield.text> spaces) //or whatever condition you would like to put
               UIStoryboard*storyboard = self.storyboard;
               //You needto set below identifier (PasswordView) through your storyboard.
               PasswordViewController *passwordViewController =
                  [storyboard instantiateViewControllerWithIdentifier:@"PasswordView"];
              [self.navigationController pushViewController:passwordViewController animated:YES];

      Modified On Apr-06-2018 05:40:26 AM
  1. Post:3

    Re: window with the password between Views

    germany's marc reus to miss world cup

    Not sure what else you could ask for in a manager. The waiter showed the same care and respect. Over all it was a great experience at a locally owned restaurant.. Ms. Brunette in a geometric print dress sits in her orange chair wiggling uncomfortably and abruptly tips face forward onto the shag rug. This sudden fall is reminiscent of the neglected baby who rolls off the ironing board in Yasinsky's first film, DROP THAT BABY AGAIN(1998): a suprising plop in the middle of domestic harmony.

    The receipt says Aqui not For Here. Everyone who works here is bilingual. This is Mexican food, not Tex Mex, and they are careful to make the distinction.. Back to Main MenuReal Estate TransfersBack to Main [url=]Authentic jerseys wholesale[/url] MenuLocal Grocery AdsSpecial SectionsLocal AdsLagniappe1. WHAT NIGERIAN TERROR LEADER DEMANDSIslamic extremist leader Abubakar Shekau says nearly 300 abducted schoolgirls will not be seen again until the government frees his detained fighters.2. IN EASTERN UKRAINE, PRO MOSCOW INSURGENTS SEEK TO JOIN RUSSIAThe move comes after a slapdash referendum in the regions of Donetsk and Luhansk that Ukraine's acting president called a "sham" and Western governments said violated international law.3.

    It is only natural, therefore, to wonder whether we have good reasons to decline a patient's request for euthanasia.Public support for a system of euthanasia is high in Western countries. In surveys I conducted, as many as 63% of Norwegians, 79% of Swedes, and 68% of Germans thought that if a patient has an incurable disease and doesn't want to go on living, he or she should be allowed to receive a lethal injection (unpublished data). And yet, most doctors and politicians in most Western countries are strongly opposed to legalised euthanasia.

    And Grantham, to his credit, welcomes it. (At least he did Friday, though it must be noted his first in person media briefing came well before a Grantham coached Georgia defense has lost a game.) the reason I wanted to take this job, he said. Understand the passion. There are a whole host of quit smoking side effects and not all of them are pleasant. Besides the obvious health benefits, there are also a number of side effects associated with withdrawal from nicotine. Coupled to this, if you quit smoking using a medication such as zyban or chantix, you may pick up some other drug related side [url=]Authentic nfl jerseys[/url] effects..

    This kind os play requires players with exceptional individual skill, a good tactical understanding of the game and a heavy tactical stress on the midfield. The style of play won the team many hearts and names such as Johan Cruyff, Wim van Hanegem or Johan Neeskens have since become household names. Incidentally Johan Cruyff was recently voted number 5 player of the 20th century, and is by some considered to be the greatest due to his exceptional [url=]Wholesale nfl jerseys[/url] all round talents..

    In addition to Phelps' accomplishments [url=]Wholesale jerseys from china[/url] last night, Towson's Katie Hoff added a bit more weight to her carry on luggage. Open record, swimming the 200 freestyle in 1:57.57 seconds, winning Round 3 of her nationals' freestyle duel with Kate Ziegler. Earlier in the week, Ziegler topped Hoff in the 400 and 800 meter freestyle events, both in tight finishes.