[iPhone Dev] Front/Rear Camera Change
// Camera Count int camera_i = [[ AVCaptureDevice devicesWithMediaType : AVMediaTypeVideo ] count ]; NSLog ( @"camera_i: %i" ,camera_i); if (camera_i > 1 ) { // btn_Swap Visable self . btn_Swap . hidden = NO ; [ self . view bringSubviewToFront : self . btn_Swap ]; } else { self . btn_Swap . hidden = YES ; }