原创 圓形圖片(個人頭像)
//圓形圖片 UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(50, 50, 150.0, 150.0)]; //設置圓
原创 (二)XMPP 即時通信 openfire安裝 IOS
一、下載並安裝openfire 1.到http://www.igniterealtime.org/downloads/index.jsp下載最新openfire for mac版 比如:Openfire 3.8.1,下載後的文件
原创 純色圓角按鈕
#define kBtnBackgroundColor [UIColor colorWithRed:73.0/255.0 green:189.0/255.0 blue:204.0/255.0 alpha:1.0] #define k
原创 The run destination My Mac 64-bit is not valid for Running the scheme
1. iOS APP Project or Mac APP Project編譯錯誤提示:“The run destination My Mac 64-bit is not valid for Running the scheme '**
原创 XCode環境變量及路徑設置 $(SRCROOT)/[文件夾名稱]
參考更多:http://blog.csdn.net/freedom2028/article/details/8658819 一般我們在xcode裏面配置包含工程目錄下頭文件的時候,都要關聯着相對路徑和絕對路徑,如果只是自己用這個項目,用
原创 二維碼ZXing環境的集成及使用 IOS
1.準備工作(下載庫文件) 1.1下載zxing最新的庫,下載地址 1.2 再次聲明一下,不要用模擬器去做測試了。既然是二維碼的使用,那就會用到攝像頭,所以要用真機來測試 2.裁剪文件 它支持衆多的條碼格式(對於IOS的只能
原创 ç常見的錯誤解決
1. svn: Failed to add file 'Makefile': an unversioned file of the same name already exists 原因:執行更新(svn up)時報錯。因爲其他人新增一個
原创 xxx..xcodeproj cannot be opened because the project file cannot be parsed
xxx..xcodeproj cannot be opened because the project file cannot be parsed svn更新代碼後,打開xcode工程文件,會出現 xxx..xcodeproj
原创 SVN Error: Unreadable path encountered; access denied;
解決方法:編輯[代碼倉庫目錄下]/conf/svnserve.conf 將[anon-access]的值設置爲[none]。如下: [general
原创 svn命令行語句詳解
使用svn help命令可以查svn有哪些命令 add blame (praise, annotate, ann) cat changelist (cl) checkout (co) cleanup
原创 Xcode cannot run using the selected device. Choose a destination with a supported architecture
Xcode cannot run using the selected device. Choose a destination with a supported architecture in order to run on this
原创 MAC下的SVN的安裝與使用
MAC系統本身就自帶SVN,因此不用像window系統那樣進行安裝SVN,對於window安裝SVN詳情可以參考教程來操作 (一)服務器搭建 1.創建SVN目錄 mkdir /Users/ouyangyulun/svn 如果有提示,說明
原创 (四)APNS 消息推送 後臺
APNS 消息推送 後臺 在應用服務器採用php的方式將消息推送給APNS, 1、php連接APNS也是需要證書的,還記得我們上面獲得的幾個證書嗎?打開終端,對上面的證書做如下處理, cd 進入證書所在目錄 把.cer文件轉換
原创 ...
參考網站 http://blog.csdn.net/kangx6/article/details/7740135 http://www.cnblogs.com/cokecoffe/archive/2012/08/19/2646245.ht
原创 文字和圖片同時提交 提示圖片不完整
項目中有一個模塊是“個人信息”,用戶可以對現有信息進行更新和完善,當用戶將需要更新和完善的信息向服務器提交時,從服務器那邊老是返回一個“圖片不完整”的信息,我很是鬱悶,仔細的查看自己的代碼,邏輯上沒有問題,後來經過同學幫助問題纔得到解決