You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/10/25 00:18:01 UTC

[jira] [Commented] (CB-5199) Media Capture - UI issues under iOS 7

    [ https://issues.apache.org/jira/browse/CB-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804742#comment-13804742 ] 

Shazron Abdullah commented on CB-5199:
--------------------------------------

The Image and Video captures are a quick patch:
{code}
// add in CDVImagePicker implementation

- (BOOL)prefersStatusBarHidden {
    return YES;
}
    
- (UIViewController*)childViewControllerForStatusBarHidden {
    return nil;
}
    
- (void)viewWillAppear:(BOOL)animated {
    SEL sel = NSSelectorFromString(@"setNeedsStatusBarAppearanceUpdate");
    if ([self respondsToSelector:sel]) {
        [self performSelector:sel withObject:nil afterDelay:0];
    }
    
    [super viewWillAppear:animated];
}
{code}

For the Audio capture, from closer inspection it appears the whole view goes *under* the toolbar and the statusbar. Notice the timer label is missing. Also, the bottom empty area corresponds to the toolbar+statusbar height.

> Media Capture - UI issues under iOS 7
> -------------------------------------
>
>                 Key: CB-5199
>                 URL: https://issues.apache.org/jira/browse/CB-5199
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media Capture
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>              Labels: ios7
>             Fix For: 3.2.0
>
>         Attachments: CaptureAudio.PNG, CaptureImage.PNG, CaptureVideo.PNG
>
>
> See attached screenshots.
> 1. Capture Audio - the microphone and record bar should stick to the bottom, right now it is shifted to the middle
> 2. Capture Video - the statusbar should be hidden (see Camera plugin, where this is fixed)
> 3. Capture Image - the statusbar should be hidden, you can see the battery status (see Camera plugin, where this is fixed)



--
This message was sent by Atlassian JIRA
(v6.1#6144)