# TCGBImageNotice Class Reference

Inherits from | NSObject
Declared in | TCGBImageNotice.h TCGBImageNotice.m

### `+ showImageNoticesWithViewController:closeCompletion:`

This is the method to request showing image notices. There is a viewController parameter and you may put your top most viewController. When finished showing image notices, this method calls closeCompletion.

`+ (void)showImageNoticesWithViewController:(UIViewController *)viewController closeCompletion:(TCGBImageNoticeCloseCompletion)closeCompletion`

#### Parameters

`viewController` | represent to current viewController
`closeCompletion` | completion may call when finished showing image notices. If there is an error, TCGBError will be returned. ### Usage Example
    - (void)showImageNotices {
        [TCGBImageNotice showImageNoticesWithViewController:self closeCompletion:^(TCGBError *error) {
            if (error) {
                dispatch_async(dispatch_get_main_queue(), ^{
                    NSLog(@"Error : %@", error);
                });
            } else {
                dispatch_async(dispatch_get_main_queue(), ^{
                    NSLog(@"Finish Image Notices");
                });
            }
        }];
    }

#### Discussion

Request Showing Image Notices.

Warning: If viewController is nil, Image Notices set it to top most view controller automatically.

#### Declared In

`TCGBImageNotice.h`