I would store a value in NSDefault
for this, as we cannot change this on UIAlertView
.
So once the UIAlertView
has shown, set this value to something that represents "read", retrieve it in one of the App Delegate methods such as applicationDidBecomeActive
and use it as a condition in a if statement for displaying the UIAlertView
.
Let say you had an NSInteger
= 0, which signifies "unread", once the UIAlertView
is shown, set it to 1 and store it in NSDefault
.
if(alertHasBeenRead == 0)
{
//bring up alert view
}
And subsequently in one of the delegate callback, set this value to something else other than 0, for example.
Hope this helps.