摘要:        
UIButton *btn = [[UIButton alloc] init]; [btn setFrame:frame]; [btn setTitleColor:titleColor forState:UIControlStateNormal]; [btn setTitle:title forState:UIControlStateNormal]; [bt...    阅读全文
posted @ 2015-11-25 20:57
TheYouth
阅读(492)
评论(0)
推荐(0)
        
            
        
        
摘要:        
//在windows上显示 UIWindow *window = [UIApplication sharedApplication].keyWindow; [window addSubview:self.DiningDetailView]; self.DiningDetailView.alpha...    阅读全文
posted @ 2015-11-25 17:01
TheYouth
阅读(166)
评论(0)
推荐(0)
        
            
        
        
摘要:        
//创建一个分类 //.h #import <UIKit/UIKit.h> @interface UIScrollView (Touch) - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; -(void)touches    阅读全文
posted @ 2015-11-25 11:47
TheYouth
阅读(436)
评论(0)
推荐(0)
        
            
        
        
摘要:        
/**loadView加载,将系统的view变换成ScrollView*/ - (void)loadView{ [super loadView]; UIScrollView *mainScroll = [[UIScrollView alloc] initWithFrame:[UIScreen mai    阅读全文
posted @ 2015-11-25 11:41
TheYouth
阅读(383)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号