cordova开发ios炸鸡

cordova/lib/copy-www-build-step.sh: Permission denied

解决办法:

cd platforms/ios/cordova/lib

sudo chmod 777 copy-www-build-step.sh

 

解决ios7及以上版本状态栏遮挡问题

解决方法:

MainViewController.m:

- (void)viewWillAppear:(BOOL)animated

{

    // View defaults to full size.  If you want to customize the view's size, or its subviews (e.g. webView),

    // you can do so here.

    

    // 显示状态栏 -- add by zhujg 2015-03-06

    if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {

        CGRect viewBounds = [self.webView bounds];

        viewBounds.origin.y = 20;

        viewBounds.size.height = viewBounds.size.height - 20;

        self.webView.frame = viewBounds;

    }



    [super viewWillAppear:animated];

}
View Code

 

在Finder标题栏显示完整路径

解决方法:

打开终端,输入以下命令并回车:defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES,然后再把finder关了再打开,对着路径最左边的小图标点右键,就能快速访问路径中的任意一层

posted @ 2015-07-28 16:14  Jager  阅读(431)  评论(0编辑  收藏  举报