NSString*message=[NSStringstringWithFormat:[NSBundletz_localizedStringForKey:@"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\""],appName];
NSString*message=[NSStringstringWithFormat:[NSBundletz_localizedStringForKey:@"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\""],appName];
if(iOS8Later){
UIAlertController*alertController=[UIAlertControlleralertControllerWithTitle:[NSBundletz_localizedStringForKey:@"Can not use camera"]message:messagepreferredStyle:UIAlertControllerStyleAlert];
UIAlertView*alert=[[UIAlertViewalloc]initWithTitle:[NSBundletz_localizedStringForKey:@"Can not use camera"]message:messagedelegate:selfcancelButtonTitle:[NSBundletz_localizedStringForKey:@"Cancel"]otherButtonTitles:[NSBundletz_localizedStringForKey:@"Setting"],nil];
UIAlertView*alert=[[UIAlertViewalloc]initWithTitle:[NSBundletz_localizedStringForKey:@"Can not use camera"]message:messagedelegate:selfcancelButtonTitle:[NSBundletz_localizedStringForKey:@"OK"]otherButtonTitles:nil];