Rather simple function to put into my already finished app for an experienced coder.
I have a tab in my app called "Random". Requirements for this project:
1) When a user taps this tab, 1 of the 100 PDF files in my project should appear at random.
To see another PDF file at random, the user either:
2) taps the tab again or presses the refresh button on the top right of the navigation bar (already placed, but needs the function to do so)
3) the user could shake the iOS device.
If there are any questions, please do not hesitate to ask.