標籤:問題描述:github下載的Demo,很多時候使用到CocoaPods,有的時候因為依賴關係或者版本問題不能編譯運行。出現例如The sandbox is not sync with the Podfile.lock問題時候,如下所示diff: /../Podfile.lock: No such file or directory diff: Manifest.lock: No such file or directory error: The sandbox is not in
標籤:我們經常在開發app的時候在AndroidManifest.xml發現這個警告warining:"Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for
標籤: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //1.KVC的使用 // Key Value Coding的縮寫, 表示索引值編碼
標籤: 先來觀察 iOS 的 User-Agent 串: iPhone 4.3.2 系統:Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us)AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8H7Safari/6533.18.5iPone 5.1 系統:Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1
標籤:我們經常在開發app的時候在AndroidManifest.xml發現這個警告warining:"Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for
標籤:圖片在記憶體中的大小Android.graphics.Bitmap類裡有一個內部類Bitmap.Config類,在Bitmap類裡createBitmap(intwidth, int height, Bitmap.Config config)方法裡會用到,開啟個這個類一看枚舉變數public static final Bitmap.Config ALPHA_8public static final Bitmap.Config ARGB_4444public static final