摘要:
UIView *bgColorView = [[UIView alloc] init];[bgColorView setBackgroundColor:[UIColor redColor]];[cell setSelectedBackgroundView:bgColorView];[bgColorView release]; 阅读全文
摘要:
Reachability *connectionNetWork= [Reachability reachabilityForInternetConnection] ; int status = [connectionNetWork currentReachabilityStatus ];// 0 没有网络// 1 wifi 阅读全文
摘要:
#import "MianViewController.h"#import @interface MianViewController (){ UIImageView *shakeFeedbackOverlay; NSTimer *rotateTimer; int timeCount;}@end@implementation MianViewController- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil{ self = [super initWithN... 阅读全文