Time of Update: 2015-07-07
ScrollView中添加一個android:fillViewport="true"(轉),http://www.2cto.com/kf/201208/148262.htmlScrollView中的組件設定android:layout_height="fill_parent"不起作用的解決辦法在ScrollView中添加一個android:fillViewport="true"屬性就可以了。顧名思義,這個屬性允許 ScrollView中的組件去充滿它。
Time of Update: 2015-07-07
使用TestFlight邀請外部人員測試APP,testflightapp如何使用TestFlight邀請外部人員測試APP具體步驟如下:1.在邀請測試人員的時候,按上線流程打包APP,提交。2.提交審核,在邀請測試員的時候,你必須先提交審核,蘋果會在大約2個工作日審核你的APP;3.審核通過後,通過iTunes中的預發行,添加測試員,只需要對方的郵箱地址即可;4.在App Store上現在TestFlight;5.當你給被邀請人發送邀請郵件的時候,被邀請人會收到一份郵件;如下:
Time of Update: 2015-07-07
android 步驟控制項的使用,android步驟控制項有的時候我們做Android開發會用到表示步驟的需求,這時候github給我們提供了一個很好地表示步驟的組件,使用她只需要4步就可以完成了。項目地址https://github.com/anton46/Android-StepsView;1.在Android studio中加入組件compile 'com.anton46:stepsview:0.0.2'2.編寫布局檔案3.填寫資料4.查看效果
Time of Update: 2015-07-07
Android與Unity互動研究Android與Unity互動研究 Android與Unity互動研究 unity與android互動的由來 unity簡單介紹 unity與android互動介紹 unity調用android的方法
Time of Update: 2015-07-07
Android的Bitmap和BitmapDrawable類解析-android學習之旅(六十)使用簡單圖片使用Drawable對象bitmap和BitmapDrawable對象package peng.liu.test;import android.app.Activity;import android.content.res.AssetFileDescriptor;import android.content.res.AssetManager;import android.graphics.
Time of Update: 2015-07-06
Android之使用adb wireless進行調試,androidadb今天電腦usb介面出問題了,就想著可不可以通過wifi連上手機,然後進行eclipse調試,看logcat等等。網上搜了一下,果然有這種解決方案。現在分享給各位android小夥伴。前提:需要你的windows電腦已經安裝了android sdk。步驟:1.關鍵的東東是需要在你的android手機上安裝一個神奇的軟體:Adb
Time of Update: 2015-07-06
UI_搭建MVC,ui搭建mvc 建立RootViewController 繼承於 UIViewController 建立RootView 繼承於 UIView AppDelegate.m 中引入 #import "RootViewController.h"#pragma mark - 重寫#pragma mark dealloc- (void)dealloc{ [_window release]; [super dealloc];} //設定window
Time of Update: 2015-07-06
gcd的封裝(swift),gcd封裝swiftgcd的封裝(swift)by 伍雪穎overridefunc viewDidLoad() { delay(2) { println("2s later") } let task =delay(5) { &
Time of Update: 2015-07-06
iOS多線程編程之NSOperation,nsoperationNSOperation有兩種方法:1>.NSInvocationOperation:建立一個operation,並用selecter指向執行的程式碼片段2>.NSBlockOperation:建立一個operation,並將執行的代碼放在block塊中.1.NSInvocationOperation多線程方法:建立方法:- (void)invocationOperation {NSInvocationOperation
Time of Update: 2015-07-05
Android開發之Volley網路通訊架構今天用了一下Volley網路通訊架構,感覺挺好用的,寫個部落格記錄一下使用方法,方便以後VC。 Volley(Google提供的網路通訊庫,能使網路通訊更快,更簡單,更健壯。)功能模組:1. JSON,映像等的非同步下載---------------------------------------------------------------------------------------2. 網路請求的排序(scheduling)----
Time of Update: 2015-07-06
在swift中使用md5,swift使用md5在swift中使用md5by 伍雪穎在ProjectName-Bridging-Header.h中添加#import<CommonCrypto/CommonCrypto.h>extension String { var MD5:String { let cString
Time of Update: 2015-07-05
android 代碼控制控制項的長寬,小技巧,android控制項要在代碼裡改變ImageView 的長寬,通過拿到contentImage這對象的控制項參數,再去改變,再設定,的contentImage為ImageView對象;而這裡要提醒的是,LayoutParams 這個類,需要匯入正確的包,設定才會起作用這裡就需要看清你的 imageView是屬於哪個布局控制項下(LieanerLayouy 還是R---layout);
Time of Update: 2015-07-05
UI_UIImageView 基本操作,ui_uiimageview UI_UIImageView 常用方法// 使用ImageView 通過 name 找到圖片 UIImage *image = [UIImage imageNamed:@"bg_2"]; // 添加 image 到 imageView 上 UIImageView *imageView = [[UIImageView alloc] initWithImage:image]; //
Time of Update: 2015-07-05
UI_Target/action 設計模式,ui_targetaction RootView.m 中 UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem]; button.frame = CGRectMake(100, 100, 100, 40); [button setTitle:@"Target" forState:UIControlStateNormal]; [self
Time of Update: 2015-07-05
如何通過git協作開發,git協作開發 最近iOS群裡的一些小夥伴剛剛畢業,剛參加工作的小夥伴們,對於如何進行git下的一個寫作開發抱有較大的疑惑,今天小湯我就給大家分享個git下協作開發的小技巧。如何通過git協作開發?當兩個開發人員共用一個master進行上傳操作時,這會遇到一個版本不一致的問題,如:今天A clone了一份代碼改,然後B 昨天也
Time of Update: 2015-07-04
android自訂換行置中CenterTextView在我們開發app時,TextView一定是使用最多的控制項了,android內建的TextView的功能也十分強大,但還是有些小的地方不能滿足我們的需求,幾天要說的這個功能也是開發中很常見的,就是,在我們顯示一段超過螢幕寬度的
Time of Update: 2015-07-03
Android 開發中怎麼使用自訂字型 1、Android系統預設支援三種字型,分別為:“sans”, “serif”, “monospace 2、在Android中可以引入其他字型 。 Android:layout_width="fill_parent" Android:layout_height="fill_parent"
Time of Update: 2015-07-03
Android中Application類的詳細解釋:,androidapplication Android中Application類的詳細解釋: 我們在平時的開發中,有時候可能會需要一些全域資料,來讓應用中的所有Activity和View都能訪問到,大家在遇到這種情況時,可能首先會想到自己定義一個類,然後建立很多靜態成員。
Time of Update: 2015-07-01
Xcode真機調試報錯:The application could not be verified.,xcodeverified今天真機調試的時候遇到這個錯誤: The application could not be verified.這還是第一次遇到,應該是手機上的app的認證跟現在的認證不一致導致。解決方案有兩個xcode中切換認證: 你手機上的app用的是哪個認證,你現在還用那個認證運行。刪除手機上的app直接刪除手機上的app,再運行就可以啦!我的部落格:剛剛線上
Time of Update: 2015-07-01
Unity遊戲小地圖產生,Unity遊戲地圖產生孫廣東 2015.6.25按部就班的實現這個功能:步驟1:在功能表列中選擇【GameObject】-》【Create Other】-》【Camera】 建立一個新的攝像機,它將作為小地圖的專用攝像機,調整他的位置,使其在情境上方垂直向下, 然後將其設定為Orthographic, 取消透視並調整Size的值,改變視圖大小,設定Viewport Rect 改變攝像機顯示地區的位置和大小, :