Skip to content

Commit

Permalink
Merge pull request #8443 from hansemannn/TIMOB-23935
Browse files Browse the repository at this point in the history
[TIMOB-23935] iOS: Fix Ti.Media.switchCamera() for kroll-thread execution
  • Loading branch information
cheekiatng committed Sep 29, 2016
2 parents 6df13df + c180a42 commit f85fcc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iphone/Classes/MediaModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,7 @@ -(void)stopVideoCapture:(id)args
-(void)switchCamera:(id)args
{
ENSURE_TYPE(args, NSArray);
ENSURE_UI_THREAD(switchCamera,args);

// TIMOB-17951
if ([args objectAtIndex:0] == [NSNull null]) {
Expand Down

0 comments on commit f85fcc4

Please sign in to comment.