Aug 28, 2015 - Ios设置横屏显示

Comments

#pragma mark 设置为横屏
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}

- (BOOL)shouldAutorotate
{
    return YES;
}

- (NSUInteger)supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskLandscapeLeft;
}

Aug 28, 2015 - 万事开头难

Comments

花了一天的时间在 github 上重新搭建了一个博客,以此来记录自己在公司实习期间学到的知识以及一些感觉和经验,最后也希望自己能坚持将学到的东西一一记录下来。