Paste "M1, M2" methods in your view controller (i.e. "ViewController.m")
"M1" viewDidLoad
- (void)viewDidLoad {
[superviewDidLoad];
// Do any additional setup after loading the view from its nib.
self.title = @"QR Code Reader";
[qrCodeView setDelegate:self];
[qrCodeView startReading];
}