I'm having a hard time coding a pop up view to display on the screen after my timer has ended. I'm trying to accomplish that "Game Over" style screen that pops up at the end of a game that asks you to play again, restart, share etc. Currently I am able to prompt the UIAlertView but thats not what I want. I want to popup a "Game Over" screen similar to it because I want to style it. Any ideas?
let alert = UIAlertView(title: "Game Over", message:"Try again...", delegate: nil, cancelButtonTitle: "Cancel")
alert.addButtonWithTitle("Restart")
alert.addButtonWithTitle("Share")
alert.addButtonWithTitle("Rate")
alert.show()
timer.invalidate()