原创 IOS7導航欄的設置

 都是從各個地方收集的一些信息 1,修改狀態欄的樣式和隱藏。 首先,需要在Info.plist配置文件中,增加鍵:UIViewControllerBasedStatusBarAppearance,並設置爲YES; 然後,在U

原创 iphone 輸出如2010年2月25日星期幾的時間格式 NSDate

轉自:http://jinkeu.blog.163.com/blog/static/2089212920111255385161/    NSDateFormatter *dateFormatter = [[NSDateFormatt

原创 IOS7簡單適配

     轉載於:http://www.cocoachina.com/bbs/read.php?tid=154091 1、如果設置了self.navigationController.navigationBar 設置了UIBarMetr

原创 如何不讓鍵盤擋住UITextField控件

在網上搜索的方法: 參考: 蘋果的官方參考 http://www.apple.com.cn/developer/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgram

原创 UIImage使用簡介

三種方式創建UIImage 用imageNamed函數 [UIImage imageNamed:ImageName]; 用imageNamed的方式加載時,系統會把圖像Cache到內存。如果圖像比較大,或者圖像比較多,用這種方式會

原创 xcode編譯錯誤總結

No architectures to compile for(ONLY_ACTIVE_ARCH=YES       這種錯誤    修改building settings下 Build Active Architecture only

原创 iOS學習之 plist文件的讀寫

原文鏈接:http://blog.csdn.net/totogo2010/article/details/7634185       在做iOS開發時,經常用到到plist文件,  那plist文件是什麼呢? 它全名是:Prope

原创 IOS7中TableView和UISearch的一些變動

原文: http://www.cnblogs.com/yingkong1987/p/3344067.html iOS7中,如果用UITableViewStyleGrouped的話,裏面的 cell會比原來的拉長了 ,這樣做應

原创 iOS 開發者必知的 75 個工具(譯文)

原文地址:http://benscheirman.com/2013/08/the-ios-developers-toolbelt (需翻牆)   如果你去到一位熟練的木匠的工作室,你總是能發現他/她有一堆工具來完成不同的任務。  

原创 iOS應用開發最佳實踐:編寫高質量的Objective-C代碼

 轉自:http://www.cocoachina.com/applenews/devnews/2013/1129/7445.html 本文由“海水的味道"編譯   點標記語法 屬性和冪等方法(多次調用和一次調用返回的結果相同)使

原创 UIView簡介

作用 A view is an object that draws itself within a rectangular area of a window and that can respond to user actions

原创 Xcode5發佈需要的新的程序圖標

        Xcode5發佈需要的新的程序圖標        Icon.png                      57X57       10px   用戶AppStore以及iPhone/iPod 中顯示 必需     

原创 XCode環境變量及路徑設置

 轉自: http://blog.sina.com.cn/s/blog_6de18992010190kk.html           http://www.cnblogs.com/xiaodao/archive/2012/03/

原创 UIApplication簡介

From the time your app is launched by the user, to the time it exits, the UIKit framework manages much of the app’s c

原创 iOS 7 教程:讓程序同時支持iOS 6和iOS 7

轉載於:http://beyondvincent.com/blog/2013/11/19/122-working-with-ios-6-and-7/ 另附一個英文鏈接;http://stackoverflow.com/question