摘要:        
UIKit提供了一组控件:UISwitch开关、UIButton按钮、UISegmentedControl分段控件、UISlider滑块、UITextField文本字段控件、UIPageControl分页控件。控件是对UIView派生类的实用增强及补充,并可以直接附着于导航栏、表格单元,甚至更大的对...    阅读全文
posted @ 2015-10-13 22:21
Coder_J
阅读(225)
评论(0)
推荐(0)
        
            
        
        
摘要:        
UIImageView相当于一个相框,用来显示图片,里边可以是一张图片,也可以是一组图片。RootView.m- (void)p_setupView{ self.backgroundColor = [UIColor yellowColor]; self.imv = [[UIImageView all...    阅读全文
posted @ 2015-10-13 22:19
Coder_J
阅读(119)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在ViewController.m中。@interface ViewController ()@property(nonatomic, strong) UIView * MyView;@end@implementation ViewController- (void)viewDidLoad { [s...    阅读全文
posted @ 2015-10-13 22:04
Coder_J
阅读(151)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在ViewController.m中- (void)viewDidLoad { [super viewDidLoad]; self.imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"tutu.png"]]; ...    阅读全文
posted @ 2015-10-13 21:55
Coder_J
阅读(142)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在ViewController.m中声明@interface ViewController ()@property (nonatomic, strong) UIView *myView;@end@implementation ViewController- (void)viewDidLoad { [...    阅读全文
posted @ 2015-10-13 20:53
Coder_J
阅读(110)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号