Time of Update: 2016-02-19
標籤:1.電腦本地認證CertificateSigningRequest.certSigningRequest一定要一致(包括開發人員認證,尤其是發布認證要一致,否則無法正常上傳),此類錯誤Xcode一般會提示Missing or invalid signature. ......."Payload/xxx.app" is not signed using an Apple submission
Time of Update: 2016-02-19
標籤:今天在做項目的時候發現了一個比較奇怪的問題,是關於ListView的,即ListView的android:height屬性會影響程式中ListView的getView()方法的調用次數,如果設定ListView的android:height屬性為0dp,同時設定android:weight=1,或者直接設定android:height屬性為"wrap_content",那麼ListView在展示資料的時候,getView()被執行的次數並不會是傳入資料集合的size,而會比size的值大一
Time of Update: 2016-02-19
標籤:任務要求: 1、設計UI介面,功能要跟產品原型保持一致,但不限定設計師的具體排版和構圖創意; 2、設計UI介面,要符合IOS9或Material
Time of Update: 2016-02-19
標籤: 1 iOS開發中,應用內直接跳轉到Appstore 2 1.進入appstore中指定的應用 3 NSString *str = [NSString stringWithFormat: 4 @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa /wa/viewContentsUserReviews?type=Purple+Software&id=%d", 5
Time of Update: 2016-02-19
標籤:1.Important: UIAlertView is deprecated in iOS 8. (Note that UIAlertViewDelegate is also deprecated.) To create and manage alerts in iOS 8 and later, instead use UIAlertController with
Time of Update: 2016-02-19
標籤:package com.hengxin.qianee.utils;import java.net.InetAddress;public class RegexUtils {/** * 使用者名稱是否符合規範(^[\u4E00-\u9FA5A-Za-z0-9_]+$) * @return */public static boolean isValidUsername(String username) {if (username==null || username.trim() == "")
Time of Update: 2016-02-19
標籤:android中dip、dp、px、sp和螢幕密度 轉自:http://www.cnblogs.com/fbsk/archive/2011/10/17/2215539.html1. dip: device independent pixels(裝置獨立像素). 不同裝置有不同的顯示效果,這個和裝置硬體有關,一般我們為了支援WVGA、HVGA和QVGA 推薦使用這 這個,不依賴像素。
Time of Update: 2016-02-19
標籤:蘋果手機開發中的資訊提示推送方式,一類是遠程伺服器推送(APNS)與UILocalNotification本地通知的,下面我來介紹第二種的使用方法。 這兩天在做一個鬧鐘提醒功能,用到了本地通知的功能,記錄相關知識如下:1、本地通知的定義和使用:本地通知是UILocalNotification的執行個體,主要有三類屬性:scheduled time,時間周期,用來指定iOS系統發送通知的時間和日期;notification
Time of Update: 2016-02-19
標籤:因為工作大部分時間使用 WinCE,所以對微軟的東東有一定的興趣。特別是 WP 手機發布後,開始計劃入手一部,最後買了 HTC HD7。WP8 發布後,傷心偶的 HD7 不能升級到 WP8;加上 HD7 的品質問題,換了 Nokia Lumia920。兩部手機,總體感覺 WP 系統穩定、流暢。再後來 WP8.1 Preview 發布,第一時間安裝了“用於開發人員的預覽”軟體,升級到
Time of Update: 2016-02-19
標籤:初始化一個UILabel對象,並初始化大小UILabel * label = [[UILabel alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];設定顯示的文字label.text=@"123";和字型相關的一個類,字型大小大小預設17@property(nonatomic,retain) UIFont*font; //7.0之後可用 設定字型風格// NSString *const
Time of Update: 2016-02-19
標籤:原文連結http://www.techweb.com.cn/business/2015-05-19/2154266_1.shtml很多人總覺得找到程式猿..哦,是工程師,就可以了。可是你看,大部分 APP
Time of Update: 2016-02-19
標籤:最近做了一個網站,想用真實手機訪問進行調試,但是訪問時卻提示無法串連,不能開啟網站,這是什麼原因,百思不得其解,因為手機是可以通過WiFi上網的,電腦雖然是通過網線上網,但都使用同一個路由器,而許可權方面並沒有做任何限制。之後通過幾步檢測,終於找到了原因,並解決了問題。1、測試區域網路能否連通檢測的第一步是測試區域網路能否連通。這裡需要另一台區域網路電腦來測試,測試的方法是在電腦裡ping一下本機IP。 網路連通性測試能ping通就表示網路是連通的。2、檢測區域網路能否訪問共用測
Time of Update: 2016-02-19
標籤:前言:關於NSURLSession的主要內容快到尾聲了,這裡就講講檔案上傳。關於檔案上傳當然就要使用NSURLSessionUploadTask,這裡直接講解常用的會和代理NSURLSessionDataDelegate一起搭配實現檔案上傳功能。另外,下面使用的檔案上傳思路是和NSURLConnection中本人之前的隨筆《iOS開發之網路編程--使用NSURLConnection實現檔案上傳》提到的上傳思路是一樣的,都是要將請求資訊拼接起來,然後傳入到請求裡進行上傳。這個拼接過程是必要的
Time of Update: 2016-02-19
標籤:一、簡介 二、代碼1.xml(1)activity_main.xml 1 <ListView 2 android:id="@id/android:list" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_content" 5 android:scrollbars="vertical" 6 /> 7
Time of Update: 2016-02-19
標籤:1、什麼是ARC? ARC(Automatic Reference Counting )自動應用計數器,代碼自動添加的release/retain,原先是需要手動添加的用來處理記憶體管理的應用計數的代碼可以自動的由編譯器完成了。ARC是為解決記憶體管理而誕生的。2、assign 和 weak,_block 和 _weak 的區別?strong 和 weak
Time of Update: 2016-02-19
標籤:android 源碼 開發知識點 fastboot flash boot out/target/product/generic/boot.img不管用,提示< waiting for device > 原因尋找: 用fastboot命令查看裝置提示無許可權,如下: $
Time of Update: 2016-02-19
標籤:今天在CSDN首頁偶然看到一個貼子JetBrains正式發布Kotlin 1.0:JVM和Android上更好用的語言 看完後,感覺Kotlin文法很簡潔,有一系列動態語言的特點,Lambda運算式,高階函數,閉包,甚至有靜態語言的類型檢查,最核心的一點,寫同樣的功能,Kotlin 的代碼量要少很多。以下是JAVA的一個資料類public class Artist { private long id; private String name; private
Time of Update: 2016-02-19
標籤:<span style="font-family: Arial, Helvetica, sans-serif;"><?xml version="1.0" encoding="utf-8"?> </span><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Time of Update: 2016-02-19
標籤: 監聽 EditText的內容變化,作出對應的處理。 MainActivity.class package com.example.edittextdemo;import android.app.Activity;import android.os.Bundle;import android.text.Editable;import android.text.TextWatcher;import android.view.View;import
Time of Update: 2016-02-19
標籤:一、簡介 二、代碼1.res\anim下的xml(1)alpha.xml.xml1 <?xml version="1.0" encoding="utf-8"?>2 <set xmlns:android="http://schemas.android.com/apk/res/android"3 android:interpolator="@android:anim/accelerate_interpolator">4 <alpha