zoukankan      html  css  js  c++  java
  • 关于NSURL的一些属性的记录

    关于NSURL的一些属性的记录

     1   NSLog(@"%@", request.URL.absoluteString);
     2   NSLog(@"%@", request.URL.relativeString);
     3   NSLog(@"%@", request.URL.scheme);
     4   NSLog(@"%@", request.URL.resourceSpecifier);
     5   NSLog(@"%@", request.URL.host);
     6   NSLog(@"%@", request.URL.port);
     7   NSLog(@"%@", request.URL.user);
     8   NSLog(@"%@", request.URL.path);
     9   NSLog(@"%@", request.URL.fragment);
    10   NSLog(@"%@", request.URL.parameterString);
    11   NSLog(@"%@", request.URL.query);
    12   NSLog(@"%@", request.URL.relativePath);
    13   NSLog(@"%@", request.URL.pathExtension);
    14   
    15 2015-12-29 12:22:55.192 知乎日报[27244:3447155] https://pic3.zhimg.com/b4f7acc26514fb634131b04a430e6cbf_b.jpg
    16 2015-12-29 12:22:55.192 知乎日报[27244:3447155] https://pic3.zhimg.com/b4f7acc26514fb634131b04a430e6cbf_b.jpg
    17 2015-12-29 12:22:55.192 知乎日报[27244:3447155] https
    18 2015-12-29 12:22:55.192 知乎日报[27244:3447155] //pic3.zhimg.com/b4f7acc26514fb634131b04a430e6cbf_b.jpg
    19 2015-12-29 12:22:55.192 知乎日报[27244:3447155] pic3.zhimg.com
    20 2015-12-29 12:22:55.193 知乎日报[27244:3447155] (null)
    21 2015-12-29 12:22:55.193 知乎日报[27244:3447155] (null)
    22 2015-12-29 12:22:55.193 知乎日报[27244:3447155] /b4f7acc26514fb634131b04a430e6cbf_b.jpg
    23 2015-12-29 12:22:55.193 知乎日报[27244:3447155] (null)
    24 2015-12-29 12:22:55.193 知乎日报[27244:3447155] (null)
    25 2015-12-29 12:22:55.193 知乎日报[27244:3447155] (null)
    26 2015-12-29 12:22:55.193 知乎日报[27244:3447155] /b4f7acc26514fb634131b04a430e6cbf_b.jpg
    27 2015-12-29 12:22:55.194 知乎日报[27244:3447155] jpg
  • 相关阅读:
    用户需求调研报告
    返回一个二维数组中的最大联通子数组(补)
    代码大全读后感(3)
    代码大全读后感(2)
    返回一个二维整数数组中最大联通子数组的和
    冲刺第一阶段总结
    大道至简读书笔记三
    大道至简读书笔记二
    大道至简读书笔记一
    软件工程课程改进意见
  • 原文地址:https://www.cnblogs.com/jackma86/p/5130815.html
Copyright © 2011-2022 走看看