摘要:        
UILabel *testLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 50, 0, 0)]; testLabel.backgroundColor = [UIColor whiteColor]; testLabel.tex...    阅读全文
posted @ 2014-09-19 15:10
shidaying
阅读(986)
评论(0)
推荐(0)
        
            
        
        
摘要:        
自动尺寸调整行为当您改变视图的边框矩形时,其内嵌子视图的位置和尺寸往往也需要改变,以适应原始视图的新尺寸。如果视图的autoresizesSubviews属性声明被设置为YES,则其子视图会根据autoresizingMask属性的值自动进行尺寸调整。简单配置一下视图的自动尺寸调整掩码常常就能使应用...    阅读全文
posted @ 2014-09-19 14:37
shidaying
阅读(758)
评论(0)
推荐(0)
        
            
        
        
摘要:        
需要 引入头文件 #import 1、三角函数 double sin (double);正弦 double cos (double);余弦 double tan (double);正切2 、反三角函数 double asin (double); 结果介于[-PI/2, PI/2] doub...    阅读全文
posted @ 2014-09-19 13:40
shidaying
阅读(548)
评论(0)
推荐(0)
        
            
        
        
摘要:        
/* rect(x,y,width,height); width, height正负代表了从原点的绘制方向,矩形的长宽都是取得绝对值 */ // Do any additional setup after loading the view, typically from a nib.#prag...    阅读全文
posted @ 2014-09-19 12:57
shidaying
阅读(4392)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号