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];

  • 相关阅读:
    移位运算符的限制
    数据类型
    正无穷和负无穷的问题
    dos下的cd指令
    c#线程的几种启动方法
    储过程实现简单的数据分页
    java 身份证15位转18位
    eclipse配置文件内存设置
    markdown语法学习
    js工具类
  • 原文地址:https://www.cnblogs.com/guchunli/p/6429104.html
Copyright © 2011-2022 走看看