Hi All
I have next situation.
I have function which make some work and in some case pop up message box.
so.
how realize next logic in my function.
if user click ok continue exec function and if user click cancel return from function (i.e do not continue)
Thanks
I have next situation.
I have function which make some work and in some case pop up message box.
so.
how realize next logic in my function.
if user click ok continue exec function and if user click cancel return from function (i.e do not continue)
Code:
....
if (imageCount == 0 && [promo_keys containsObject: @"TopCat"] || [promo_keys containsObject: @"HomePage"] || [promo_keys containsObject: @"Gallery"])
{
// alert mesage for existing image.
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"UIAlertView" message:@"<Alert message>" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
[alert show];
[alert release];
}
....
Thanks