zoukankan      html  css  js  c++  java
  • ipad屏幕旋转后的代理

    - (void)statusBarOrientationChange:(NSNotification *)notification
    {
       
        UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
        if (orientation == UIInterfaceOrientationLandscapeRight) // home键靠右
        {
           
        }
       
        if (orientation ==UIInterfaceOrientationLandscapeLeft) // home键靠左
        {
           
        }
       
        if (orientation == UIInterfaceOrientationPortrait)
        {
            NSLog(@"normal");
        }
       
        if (orientation == UIInterfaceOrientationPortraitUpsideDown)
        {
            NSLog(@"down");
        }
    }
  • 相关阅读:
    阴影及定位
    选择器高级、样式及布局
    css的导入与基础选择器
    html知识
    ORM
    python实现进度条
    MySQL单表查询
    一、HTTP
    mysql4
    练习——MySQL
  • 原文地址:https://www.cnblogs.com/lisjie/p/5135071.html
Copyright © 2011-2022 走看看