Skip to content

Commit

Permalink
kinder error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cschep committed Oct 7, 2011
1 parent d7a1f08 commit f311146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/ELCAlbumPickerController.m
Expand Up @@ -36,7 +36,7 @@ - (void)viewDidLoad {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

// Group enumerator Block
void (^assetGroupEnumerator)(struct ALAssetsGroup *, BOOL *) = ^(ALAssetsGroup *group, BOOL *stop)
void (^assetGroupEnumerator)(ALAssetsGroup *, BOOL *) = ^(ALAssetsGroup *group, BOOL *stop)
{
if (group == nil)
{
Expand All @@ -55,7 +55,7 @@ - (void)viewDidLoad {
// Group Enumerator Failure Block
void (^assetGroupEnumberatorFailure)(NSError *) = ^(NSError *error) {

UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Error" message:[NSString stringWithFormat:@"Album Error: %@", [error description]] delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Error" message:[NSString stringWithFormat:@"Album Error: %@ - %@", [error localizedDescription], [error localizedRecoverySuggestion]] delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[alert show];
[alert release];

Expand Down

0 comments on commit f311146

Please sign in to comment.