• 面试题目


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

  • 相关阅读:
    站立会议04(第二阶段)附加站立会议02、03
    第二阶段冲刺---站立会议01
    网络:Session原理及存储
    网络:Xen理解
    网络:LVS负载均衡原理
    网络:OSPF理解
    语音笔记:信号分析
    语音笔记:CTC
    语音笔记:矢量量化
    语音笔记:MFCC
  • 原文地址:https://www.cnblogs.com/guchunli/p/6429104.html
Copyright © 2020-2023  润新知