UIImagePickerController when fired gets a redbar with the name of the application using UITabbarcontroller

I use UIImagePickerController to record videos and shoot, edit and save videos to a file. When the UIImagePickerController is rejected, the status bar blinks red and disappears, and for a while my panel moves down. cannot understand why this is happening, where is the problem.

enter image description here  I want to avoid this. I noticed this with a decrease in frequency from iOS8.1, iOS8, iOS7.1, etc.

moving some time (means random). enter image description here

why the fixture comes when I record a video and upload it to the server or using the cancel button in uiimagepickerviewcontreller .. Why doesn’t this happen when I take the image and why doesn’t it happen every time.

    -(void)mediaAction{

/// calling action sheet action 
        }

- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {

    //setting for image
    cameraUI = [[UIImagePickerController alloc] init];
    cameraUI.delegate = self;


    //Get the name of the current pressed button
    NSString *buttonTitle = [actionSheet buttonTitleAtIndex:buttonIndex];

    if ([buttonTitle isEqualToString:@"Record a Video"]) {
        mediachecker=@"video";
        cameraUI.sourceType = UIImagePickerControllerSourceTypeCamera;
        cameraUI.mediaTypes = [[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie, nil];
        cameraUI.allowsEditing = NO;
        [self presentViewController:cameraUI animated:YES completion:nil];

    }
    if ([buttonTitle isEqualToString:@"Upload from Gallery"]) {
        //NSLog(@"ChooseFromGallery");
        mediachecker=@"video";
        cameraUI.allowsEditing = YES;
        cameraUI.mediaTypes = [[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie, nil];
        cameraUI.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
        [self presentViewController:cameraUI animated:YES completion:NULL];

    }

    if ([buttonTitle isEqualToString:@"Click a Picture"]) {

        mediachecker=@"photo";
        cameraUI.allowsEditing=YES;
        cameraUI.sourceType=UIImagePickerControllerSourceTypeCamera;
        [self presentViewController:cameraUI animated:YES completion:NULL];
        //NSLog(@"UseCamera");

    }
    if ([buttonTitle isEqualToString:@"Photo Library"]) {
        //NSLog(@"UseGallery");
        mediachecker=@"photo";
        cameraUI.allowsEditing=YES;
        cameraUI.sourceType=UIImagePickerControllerSourceTypePhotoLibrary;
        [self presentViewController:cameraUI animated:YES completion:NULL];

    }

    if ([buttonTitle isEqualToString:@"Cancel"]) {
    }

}  



 - (void) imagePickerController: (UIImagePickerController *) picker
             didFinishPickingMediaWithInfo: (NSDictionary *) info {

                [picker dismissViewControllerAnimated:YES completion:nil];

            //getting file here; and uploading 
}


- (void) imagePickerControllerDidCancel: (UIImagePickerController *) picker {


[[picker presentingViewController] dismissViewControllerAnimated:YES completion:nil];
            //dissming here; 

            }

Redbar Noticed UIImagePickerController

IPhone - Modal View Controller -

. .

+4
1

UIImagePickerViewController : Stack Overflow, :

: " " View "" YES " .plist"

UIImagePickerController :

, , .

0

All Articles