原创 iOS - CGAffineTransformMakeRotation 運行結果與預期不同原因分析

問題描述: 在 CGAffineTransformMakeRotation(CGFloat angle) 方法中,當給定的初始 angle 值爲負數時,視圖將沿逆時針方向,反之亦然。而當反覆運行多次後,在某些情況下會出現與預期旋轉方向不同的

原创 App Store 中應用有新版本,卻顯示“打開”按鈕,無法更新應用。

【問題】 部分軟件在 APP Store 中無法更新,App Store 中顯示的版本號與本地應用版本號不同,但卻不顯示“更新”按鈕,而是“打開”。 官網聯繫 Apple 客戶後,建議在“設置”>“通用”>“iPhone 儲存空間”

原创 Xcode build success but not launch project.(Xcode 編譯成功但沒有運行)

解決辦法: 打開“活動監視器”,強制退出“Xcode”有關的進程。

原创 【破解】TeamViewer for mac 5分鐘時間限制,檢測到商業行爲

需要的軟件版本爲 TeamViewer 13,同時被遠程的電腦上也需安裝同樣版本的 TeamViewer。 安裝好後先不要打開或登錄 TeamViewer,下載 TeamViewer-id-changer.py,打開終端,輸入命令: sud

原创 downloadProgress block in downloadTaskWithRequest is not called in AFNetworking

The reasoning behind it would be that there is no "content-length" header and thus there can not be a fractionCompleted

原创 iOS - 符號化崩潰日誌

1、新建 “crash” 文件夾 2、拷貝所需文件至 “crash” 文件夾 3、在終端中,cd 至 crash 文件夾 4、輸入命令:export DEVELOPER_DIR="/Applications/XCode.app/Conte

原创 Revert all local changes in Git managed project to previous state.

If you want to revert changes made to your working copy, do this: git checkout . If you want to revert changes made to