fix the problem that the title and message of the alert in iOS8 did not show