-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Original Objective-C code:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"No Camera" message:kLocaleFeedbackCameraUnavailable delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
Converted Swift code:
let alert = UIAlertView(title: "No Camera", message: kLocaleFeedbackCameraUnavailable, delegate: self, cancelButtonTitle: "OK", otherButtonTitles: "")
Converted Swift code with the correct functionality:
let alert = UIAlertView(title: "No Camera", message: kLocaleFeedbackCameraUnavailable, delegate: self, cancelButtonTitle: "OK")
Metadata
Metadata
Assignees
Labels
No labels