原创 多張圖片一起播放,動畫

// 創建數組緩存圖片用來動畫 - (NSArray *)ImgArray{     if (!_ImgArray) {         _ImgArray = [NSArray arrayWithObjects:     

原创 自定義導航欄左邊按鈕的位置靠左問題,右邊按鈕的位置靠右的問題

    UIButton *leftBtn = [[UIButton   alloc]  initWithFrame:CGRectMake(-10,0,scrrenW*0.05,44)];     [leftBtn setBackgr

原创 獲取設備的局域網IP

    // 獲取手機的ip     NSString *ip = [GJWIPHelper deviceIPAdress]; // 獲取IP的.h文件 #import <Foundation/Foundation.h>

原创 導航欄變爲透明

    //    導航欄變爲透明     [self.navigationController.navigationBarsetBackgroundImage:[UIImagenew] forBarMetrics:0];    

原创 iOS App打包測試的解決方法二

——除了用ADHoc打包出ipa包,然後 必備知識: 1.首先需要用Xcode或Application Loader 提交一個ipa包。這個包的Bundle version不可以和已上傳的重複,必須用生產證書,生產的bundle

原创 關於在self.navigationItem.titleView 中增加視圖和改變frame的問題

 NSArray *segeArray = [NSArray  arrayWithObjects:@"PHOTOS",@"VIDEOS",nil];     UISegmentedControl *segmentCtr = [[UIS

原创 embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/

原创 “gjw” is of a model that is not supported by this version of Xcode. Please use a different device.

今天真機運行的時候碰見了這個問題(“gjw”is of a model that is not supported by this version of Xcode. Please use a different device.),後

原创 iOS App打包測試的解決方法一

直接Archive還是不行,用了另外一個方法去打包。 1,先在項目的Target裏的General進行設置,把Signing下的Automatically manage singing取消 2,在Signing(Debug)和(Rele

原创 wireshark抓包

1.先去百度下載 2.把你的手機用數據線連接電腦,獲取你手機的UDID 3.打開終端,輸入rvictl -s (UDID) Starting device 09c197e217e5e8a5f7895888d063c

原创 iOS 跳轉到Wi-Fi設置界面

 //  iOS之前跳轉到Wi-Fi設置界面的代碼  在點擊跳轉的按鈕動作中添加如下代碼   [[UIApplication sharedApplication] openURL:[NSURL URLWithString:

原创 把視頻數據寫到文件裏面去來分析

把數據寫到文件裏面去用 vedioWriter = [[NSMutableData  alloc] init];     //獲取文件路徑     NSString *uidplist = [[NSString  alloc] init

原创 iOS版本更新

版本更新#pragma mark - 檢查版本更新 - (void)checkNewVersion { //    NSString *url = @"https://itunes.apple.com/cn/app/ya-zi-kan-h

原创 UIScrollView滾動到指定頁面

               int _index;//你想指定的第幾個頁面     CGFloat imageW = scrollView1.frame.size.width;     // 指定頁面     CGPo

原创 UIView逐漸變亮然後消失,動畫

    imaged = [[UIImageView alloc] initWithFrame:CGRectMake(scrrenW*0.36, self.view.center.y-scrrenW*0.15, scrrenW*0.28