3.19学习内容

安卓手机三星

SM-N900

GT-I9508
SM-N9008V

android4.4.2(SM-N9005)

android4.4.2(SM-N9009)

createBitmap内存溢出解决方案:

<application

。。。。

        android:largeHeap="true" >

...

</....

android:largeHeap可以增加应用所需的内容,有效防止这种错误出现



xcode6.0 ios开发中在ViewController里添加一个view

- (void)viewDidLoad {

    [super viewDidLoad];

    // Do any additional setup after loading the view, typically from a nib.

    

    

    UILabel *lable = [[UILabel alloc] initWithFrame:CGRectMake(0 , 0, 100, 100)];

    lable.backgroundColor = [UIColor redColor];

    lable.text = @"SSS";

    lable.textColor = [UIColor grayColor];

    lable.textAlignment = NSTextAlignmentRight;

       [self.view addSubview:lable];

}


你可能感兴趣的:(android,学习,ios开发)