240 发简信
IP属地:上海
  • iOS url编码,解码

    1.url编码 ios中http请求遇到汉字的时候,需要转化成UTF-8,用到的方法是: 2.url解码 请求后,返回的数据,如何显示的是这样的...

  • Resize,w 360,h 240
    iOS设备的尺寸

    分辨率(px) iphone4s:960*640 iPhone5、iPhone5s:1136*640 iPhone6、iPhone6s:1334...

  • 音频的录制与播放

    首先导入AVFoundation库 定义全局的recorder、player和audiosession 开始录音 结束录音 播放 获取录音长度 ...

  • TabBarItem图片大小改变

    在TabBarItem设计的时候不需要title只要image的时候,如何将image居中显示。 tabBarItem.imageInsets ...

  • Unix Timestamp 时间戳转换

    用到的是NSDate的 (times 1000 for milliseconds, otherwise, take that out)

  • Xcode 插件失效解决方法

    每次插件失效总要去翻下文章,实在记不住一些东西,所以在这边用文字记录一下,以便以后查阅。 终端里输入如下代码获得Xcode的UUID: defa...

  • get network status after ios7

    this is the header file code this fast function after ios7 2G 3G 4G

  • detect lockstate and displaystate

    需要 另外三个系统通知