源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

iOS二维码的生成代码

  • 时间:2021-04-30 19:25 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:iOS二维码的生成代码
本文实例为大家分享了iOS二维码的生成代码,供大家参考,具体内容如下 [b]一、工程图。[/b]  [img]http://files.jb51.net/file_images/article/201708/2017811111206910.jpg?2017711111224[/img] [b]二、代码。[/b] 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
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程素材网。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部