原创 iOS 7中的extendedLayout
參考文章: http://stackoverflow.com/questions/18798792/explaining-difference-between-automaticallyadjustsscrollviewinsets-
原创 pod 更新很慢
實際開發過程中,執行 pod install 或者 pod update 會卡在 Analyzing dependencies 這裏,不動了,新手會認爲自己的問題。關閉終端,重新打開,終端進入自己的本地項目目錄,然後重新嘗試一下下邊的命
原创 旋轉或者縮放
1:CGAffineTransform transform= CGAffineTransformMakeRotation(M_PI*0.38); view.transform = transform; /*關於M_PI #define
原创 iOS重寫系統的返回按鈕,捕獲系統返回按鈕事件
本文轉發的。轉的來源也是轉載的,他沒有標出出處。在這裏,默默的感謝原創。如果原創看見,留言給我鏈接。我增加原創地址。謝謝 #import <UIKit/UIKit.h> @protocol BackButtonHandlerProt
原创 長久的心結,記不住
button 設置字體顏色。總是不好用。瑪德,氣死哥哥了。這次專門爲你寫個博客,已嘲笑自己的智商 button setTitleColor: forState: UIButton *backButton = [[UIButton
原创 圖片的動畫
- (void)rightItemClick{ [UIView animateWithDuration:0.1 animations:^{ self.rightItem.trans
原创 三人行必有我師
http://www.cnblogs.com/dsxniubility/default.html?page=3