240 发简信
IP属地:北京
  • URLSession data task

    Example code for request Need call [task resume]; command.

  • Sort NSArray with custom object

    Use sortedArrayUsingComparator method to sort NSArray with custom object

  • 解压缩gz文件

    使用gzip命令解压缩gzw文件

  • XCode 8.1 "Comment Selection" disabled

    After I upgrade Xcode to 8.1, the Comment Selection menu is disabled aga...

  • AVPlayer change rate

    Get the help from Adjust AVPlayer Frame Rate During Playback Set rate af...

  • AVAudioPlayer can't play remote audio

    AVAudioPlayer does not support streaming via HTTP. Try using AVPlayer in...

  • Show Album Image on Lock Screen

    The following text is from Showing a lock screen image using MPNowPlayin...

  • Post form with CURL

    Use CURL command post form

  • Enable play audio background

    Call this function to enable play audio when app enter into background