iOS二維碼的生成代碼
更新時間:2017年08月11日 11:13:55 作者:弦外雨
這篇文章主要為大家詳細介紹了iOS二維碼的生成代碼,具有一定的參考價值,感興趣的小伙伴們可以參考一下
本文實例為大家分享了iOS二維碼的生成代碼,供大家參考,具體內容如下
一、工程圖。

二、代碼。
ViewController.m
#import "ViewController.h"
#import "ScanViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
ScanViewController *scanView=[[ScanViewController alloc]init];
[self.navigationController pushViewController:scanView animated:NO];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持腳本之家。
相關文章
iOS開發(fā)-實現(xiàn)大文件下載與斷點下載思路
本篇文章主要介紹了iOS開發(fā)-實現(xiàn)大文件下載與斷點下載思路,具有一定的參考價值,感興趣的小伙伴們可以參考一下。2017-01-01
IOS開發(fā)OC代碼中創(chuàng)建Swift編寫的視圖控制器
這篇文章主要介紹了IOS開發(fā)OC代碼中創(chuàng)建Swift編寫的視圖控制器的相關資料,需要的朋友可以參考下2017-06-06

