vue app互換性(互換性)

1223 ワード

NSAppTransportSecurity

  NSAllowsArbitraryLoads
  

LSApplicationQueriesSchemes

  iosamap

NSCameraUsageDescription
cameraDesciption
NSPhotoLibraryUsageDescription
photoLibraryDesciption

info.plistファイルの変更から撮影権限へ
  • (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. 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]; }

  • -(void)viewWillDisappear:(BOOL)animated { 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 viewWillDisappear:animated]; }
    MainViewController.m携帯電話のステータスバーを上書き解除
    生成後のアイテムの下のconfigをパッケージ化する.xmlページスクロール禁止