原创 app store app 下架

找了很多方法,目前就知道三種 進入 Price 界面 1.時間選擇到未來(到了未來app還會自己上架?) 2.價格寫到最高999美元(不靠譜) 3.去掉所有的銷售區域。(貌似這個可以)

原创 ios7 後iTunes 不能打開評分頁面

ios7後app 跳轉app 評分頁面 顯示空白,原因是URL 改變了 之前是這樣寫的 itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUse

原创 報錯:Undefined symbols for architecture i386 "_deflate"

You didn't include the libz.dylib where those functions are. Select the project node, select your target, go to the Bu

原创 JsonKit 在xcode5 上報錯

第一個:array->isa      = _JKArrayClass; 第二個:dictionary->isa      = _JKDictionaryClass; 解決辦法: array->isa      = _JKArrayC

原创 刪除 文件夾下所有的 .svn

find . -name ".svn" -exec rm -rf {} \; 或者find . -name ".svn" -type d -exec rm -rf {} \;

原创 Unwind Segue not working in iOS 8

http://stackoverflow.com/questions/25654941/unwind-segue-not-working-in-ios-8 Unwind Segue 是 Storyboard 裏面一項我非常喜歡而且實用

原创 ipad iphone model 讓 鍵盤消失

Overriding disablesAutomaticKeyboardDismissal to return NO as below fixed the same problem of mine. You should put thi

原创 NSArray 排序sortedArrayUsingComparator

-(IBAction)onPeriodChanged:(id)sender {     NSDictionary * data1 = @{@"value":@"0"};     NSDictionary * data2 = @{@"val

原创 iosblock

1.方法 -(id)initWithType:(DDAlertType)alertType title:(NSString *)title message:(NSString *)message btnName:(NSString *)

原创 UILabel 自動適應寬度

#import <UIKit/UIKit.h> @interface AutoSizeLabel : UILabel @end #import "AutoSizeLabel.h" @implementation AutoSize

原创 顏色漸變

CAGradientLayer *gradient = [CAGradientLayer layer];   gradient.frame = rect;   gradient.colors = [NSArray arrayWithOb

原创 Android 異步加載圖片

http://blog.csdn.net/geniusxiaoyu/article/details/7470163 點贊 收藏 分享 文章舉報 迷路的豬 發佈了37 篇原創

原创 tabbar 點擊 兩次 默認 返回 rootVC

tabbar 點擊 兩次 默認 返回 rootVC 在項目 希望這個事件會不會被觸發 需要實現 它的 代理  UITabBarControllerDelegate - (BOOL)tabBarController:(UITabBarCo

原创 BreatheLight 呼吸燈

今天無意間看到 小米手機在充電的時候 home鍵上的小燈 一閃一閃的 好像會呼吸,於是 聯想到了在ios 視圖上加上一個這個效果是不是會顯得有生命力。。。呵呵呵。。隨便寫了幾行代碼 #import <UIKit/UIKit.h> @in

原创 鍵盤 添加自定義按鈕

系統鍵盤上添加 自定義按鈕 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKey