Hello I am making an app that requires a random page generator so I wanted to know if there was a way to add a random page generator to storyboard in xcode
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nothing out of the box that I know of (and given that every application has different concepts of “pages” I’m not sure that there could be a generic approach. (I don’t use storyboards, though, so I’m somewhat outside my comfort zone.)
It’s easy enough to generate random numbers, which you could use as inputs to some method that will, say, pick out an indexed view controller and push it onto the navigation stack. But this is hypothetical and entirely dependent on your application architecture.
Care to elaborate?