面试题目

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

转载于:https://www.cnblogs.com/guchunli/p/6429104.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值