zoukankan      html  css  js  c++  java
  • 面试题目

         1.轮播图:UIScrollView UICollectionView

         2.UITextField leftView属性

           UILabel userInteractionEnabled属性

           NSAttributeString

         3.OC-JS jscontext.evaluateScript

         4.微信支付返回结果:UIApplication

         5.100个用户验证,客户端与服务器端

        6.

        NSLog(@"%lu",sizeof(int));

        NSLog(@"%lu",sizeof(int*));

        NSLog(@"%lu",sizeof(char[3]));

        7.

        dispatch_queue_t queue = dispatch_queue_create("com.dispatch.serial", DISPATCH_QUEUE_SERIAL);

        dispatch_async(queue, ^{

            NSLog(@"1");

            [NSThread sleepForTimeInterval:5.0f];

            dispatch_async(queue, ^{

                NSLog(@"5");

            });

            [NSThread sleepForTimeInterval:5.0f];

            dispatch_async(queue, ^{

                NSLog(@"6");

            });

            NSLog(@"2");

            dispatch_suspend(queue);

            NSLog(@"3");

            [NSThread sleepForTimeInterval:10.0f];

            dispatch_resume(queue);

            NSLog(@"4");

        });

    8.监听网络状态

    (1)Reachability

    (2)AFNetworking

    (3)从状态栏中获取网络类型

        NSArray *children = [[[[UIApplication sharedApplication] valueForKeyPath:@"statusBar"]valueForKeyPath:@"foregroundView"]subviews];

  • 相关阅读:
    localStorage用法
    es6写法
    div滚动条
    搜索框聚焦和失焦
    初步理解前端模块化开发
    clam安装
    div行高不确定,文字和图片居中
    html页面设置<span>的高度和宽度
    一款好用的wangEditor编辑器
    3月23 防360网页的示意图
  • 原文地址:https://www.cnblogs.com/guchunli/p/6429104.html
Copyright © 2011-2022 走看看