標籤:iOS9中新增App Transport Security(簡稱ATS)特性, 主要使到原來請求的時候用到的HTTP,都轉向TLS1.2協議進行傳輸。這也意味著所有的HTTP協議都強制使用了HTTPS協議進行傳輸。 錯誤資訊如下:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be
標籤:Error:Execution failed for task ‘:lenovoAlbum:processReleaseResources‘.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘Android_SDK\build-tools‘‘ finished with non-zero exit value 1
標籤: 隨著應用變得越來越複雜,分團隊及分工程開發變得不可避免,如美團這樣的大型應用。如果需要分工程開發和提交SVN,iOS中可以在一個Workspace下管理多個工程。可以分為主工程和副工程,如果副工程是bundle工程則將副工程加入到主工程scheme中,並且設定主工程的Run Script將副工程;如果副工程是.a(即Library)工程,則直接將.a檔案加入到主工程TARGETS-General-Linked Frameworks and
標籤:viewWillAppear: Called when the view is about to made visible. Default does nothing視圖即將可見時調用。預設情況下不執行任何操作viewDidAppear: Called when the view has been fully transitioned onto the screen. Default does
標籤: public class Utils { private static long lastClickTime; public static boolean isFastDoubleClick() { long time = System.currentTimeMillis(); long timeD = time - lastClickTime; if ( 0 < timeD