原创 cocoaPods 版本從1.0.1 降到0.39.0
http://www.jianshu.com/p/5d708023c7cc 另外在之後立馬出現問題: 解決方案: sudo xcode-select -switch 命令
原创 使用cocoaPods導入三方時導入頭文件報錯
使用cocoaPods導入三方時導入頭文件報錯,找不到文件,解決方案: 另外:選擇recursive
原创 UIView的UIViewAutoresizingMark
typedef NS_OPTIONS(NSUInteger, UIViewAutoresizing) { UIViewAutoresizingNone = 0, UIViewAutor
原创 - (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds;
-- (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds{ return NO; } 判定爲佈局需要被無效化並重新計算的時候,佈局對象會被詢問以提供新的佈局。
原创 apns返回的handShake_failure錯誤
1.這兩天App友盟推送忽然不能用,查看之下報了個這樣的錯 “apns返回的handShake_failure錯誤”,一般這種情況是推送證書過期,只需要重新導入一下。 2.上線情況就不說了,網上一堆這裏記錄下自己的處理流程因爲之前沒做過
原创 Xcode工程 Implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int32類似的警
-fno-objc-arc -Wno-shorten-64-to-32 在xcode 項目中出現了類似的報錯, 在項目中需要兼容MRC,解決方案就是直接在工程配置中找到當前文件, 貼上-fno-objc-arc -Wno-sh
原创 redirect_uri_mismatch
redirect_uri_mismatch 原因是我在新浪開發平臺新建APP後,沒有修改回調url,回調url要和APP中設置的回調url一致;
原创 endRefreshingWithNoMoreData
1.[_myCollection.mj_footer endRefreshingWithNoMoreData]; [self.mainView reloadItemsAtIndexPaths:@[[NSIndexPath in
原创 iOS 手勢筆記
iOS六種手勢: 輕擊手勢(TapGestureRecognizer), 輕掃手勢 (SwipeGestureRecognizer), 長按手勢(LongPressGestureRecognizer),
原创 蘋果系統升級是時出現應用程序副本不能驗證,它在下載過程中可能已遭篡改或損壞。
在終端中修改時間: sudo date 如果用上面的辦法修改後還是不行,那麼輸入下面的代碼試試 date 062614102014.30 06是月,26是日,14是時,10是分,2014是年,30是秒注意:參考上
原创 library not found for -lWeChatSDK
library not found for -lWeChatSDK 1. 工程文件上傳到svn中,.a文件會自動屏蔽(應該叫屏蔽,反正就是上傳不上去) 用Cornerstone工具,解決這個問題 1.打開Cornerstone左上
原创 AQDefaultDevice (173): skipping input stream
Xcode8 出現問題:AQDefaultDevice (173): skipping input stream
原创 masonry Unable to simultaneously satisfy constraints. Probably at least one of the c
Unable to simultaneously satisfy constraints. Probably at least one of the
原创 iOS 應用進入info 時xcode 閃退
應用在點擊info 時出現xcode 閃退,之後發現是info.plist 裏面的屬性設置不對, 設置白名單 的數組放錯位置
原创 OC與swift混編-oc中調用swift方法
1.傳送門 點擊打開鏈接