NSString*  deviceName= [[UIDevicecurrentDevice] uniqueIdentifier];

NSString*  localizedModel=[[UIDevicecurrentDevice] localizedModel];

NSString*  systemVersion=[[UIDevicecurrentDevice] systemVersion];

NSString*  systemName=[[UIDevicecurrentDevice] systemName];

NSString*  model=[[UIDevicecurrentDevice] model];

result945 發表在 痞客邦 留言(1) 人氣()

參考這裡

result945 發表在 痞客邦 留言(0) 人氣()

最近遇到不同伺服器中傳值的問題

主要用curl和ssh2

但ssh2大部分的主機都不預設支援

所以還是得用curl

ssh2 sample

result945 發表在 痞客邦 留言(0) 人氣()

之前寫過的、但沒記起來總是會忘、為了避免一直重查還是記錄下來好了

<script type="text/javascript">
<!--

//刪除時先確認
function confirmation(id) {

result945 發表在 痞客邦 留言(0) 人氣()

重灌系統後 重新安裝tesseract後發生

Error in pixReadStreamGif: function not present
Error in pixReadStream: gif: no pix returned
Error in pixRead: pix not read
Unsupported image type.

result945 發表在 痞客邦 留言(0) 人氣()

$ary_phase = array("\r\n","\r"," ","\n");
$data['question'] = str_replace($ary_phase,"",$this->input->post('question'));

result945 發表在 痞客邦 留言(0) 人氣()

好棒的蠢蠢的愛

可惜出社會就會變質了~

result945 發表在 痞客邦 留言(0) 人氣()

NSMutableArray Sory

===============================================================

self.Dict_MutablemsgDlist = [self.Dict_msgDatamutableCopy];

NSMutableArray *keyArray = [[NSMutableArray alloc] init];

    [keyArray addObjectsFromArray:[[self.Dict_MutablemsgDlist allKeys]

result945 發表在 痞客邦 留言(0) 人氣()

今天Lion升級為10.7.3

Archive程式時發生了

warning: iPhone/iPod Touch: icon.png: icon dimensions (0 x 0) don't meet the size requirements.  The icon file must be 57x57 pixels, in .png format (-19014) Unable to validate your application. - (null)apple

解決方法為:

http://blog.manbolo.com/2012/02/02/macosx-10.7.3-update-breaks-ios-app-validation

result945 發表在 痞客邦 留言(0) 人氣()

網頁嵌入語音、除了使用youtube嵌入外

另外有JarisFLVPlayer

jwplayer及flowplayer

都算蠻好用的,google一下就有使用教學了!!

result945 發表在 痞客邦 留言(0) 人氣()

今天在測試push時發生了

Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 "未找到應用程序的“aps-environment”的權利字符串"

其實是原本的profile太舊了、只要重新renew、再下載profile就行了

至於push的教學可以參考以下網站

http://mobiforge.com/developing/story/programming-apple-push-notification-services

result945 發表在 痞客邦 留言(0) 人氣()

主要參考這篇文章

http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-keeping-content-from-underneath-the-keyboard/

result945 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。