zoukankan      html  css  js  c++  java
  • WWDC笔记:2013 Session 203 What’s New in Cocoa Touch(未完)

    Multitasking 

    • Background fetching 
      • New background mode fetch
      • - (void)application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
      • Tuning the fetch interval - (void)setMinimumBackgroundFetchInterval:(NSTimeInterval)minInterval; const NSTimeInterval UIApplicationBackgroundFetchIntervalMinimum const NSTimeInterval UIApplicationBackgroundFetchIntervalNever
    • Remote notifications 
      • - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
      • typedef NS_ENUM(NSUInteger, UIBackgroundFetchResult) { UIBackgroundFetchResultNewData, UIBackgroundFetchResultNoData, UIBackgroundFetchResultFailed }
    • Background transfers 
      • NSURLSession Replacement API for NSURLConnection
      • - (void)application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)())completionHandler;

    Related Session

    • What’s New in Foundation Networking 

    Views and Images 

    Image Rendering Modes 

    • Creating an image with a rendering mode      - (UIImage *)imageWithRenderingMode:(UIImageRenderingMode)renderingMode;
    • Pass the mode       typedef NS_ENUM(NSInteger, UIImageRenderingMode) { UIImageRenderingModeAutomatic, UIImageRenderingModeAlwaysOriginal, UIImageRenderingModeAlwaysTemplate }

    Tint Color

  • 相关阅读:
    api服务器思路
    利用express写api接口
    sql基础语句
    安装npm后,nrm ls 报错internal/validators.js:124 throw new ERR_INVALID_ARG_TYPE(name, ‘string‘, value)
    JavaScript垃圾回收机制和闭包
    用git clone 远程的所有分支
    面试题重点
    Linux 常用命令
    防抖函数和节流函数
    GIT PUSH 出现EVERYTHING UP-TO-DATE 解决方法
  • 原文地址:https://www.cnblogs.com/wxy325/p/3322013.html
Copyright © 2011-2022 走看看