Update MessageBox.m

Updated prompt method to be able to function under iOS 7 (using mechanisms present since iOS 5.0).