zoukankan      html  css  js  c++  java
  • 【代码笔记】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
    复制代码

     

  • 相关阅读:
    vue 中使用阿里iconfont彩色图标
    团队作业九
    团队作业八
    团队作业七
    第二篇
    第三篇
    第一篇
    beta冲刺计划安排
    团队作业六
    团队作业五
  • 原文地址:https://www.cnblogs.com/yang-guang-girl/p/7305229.html
Copyright © 2011-2022 走看看