美文网首页我爱编程
美空七彩—放心出行app

美空七彩—放心出行app

作者: 小太阳_955e | 来源:发表于2018-05-22 19:10 被阅读0次

美空七彩天氣,讓您出行更安全,更放心!

美空七彩天氣軟件包含國內外3000多個城市天氣信息,採用國內外多家氣象機構數據,天氣預報信息準確全面,24小時預報、未來七天天氣預報等。

空氣質量、污染指數、溫度趨勢、pm2.5,空氣質量指數等更加豐富、精準天氣信息!提供穿衣、洗車、紫外線、感冒、運動、旅遊等生活指數,是您日常生活、出行旅遊的必備天氣預報APP!

美空七彩天氣真誠為您提供最精準的天氣和空氣數據信息,一路相伴,一心為你!

技术支持代码展示:

/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. *//* NOTE: plugman/cordova cli should have already installed this, but you need the value UIViewControllerBasedStatusBarAppearance in your Info.plist as well to set the styles in iOS 7 */#import "CDVStatusBar.h"#import#importstatic const void *kHideStatusBar = &kHideStatusBar;static const void *kStatusBarStyle = &kStatusBarStyle;@interface CDVViewController (StatusBar)@property (nonatomic, retain) id sb_hideStatusBar;@property (nonatomic, retain) id sb_statusBarStyle;@end@implementation CDVViewController (StatusBar)@dynamic sb_hideStatusBar;@dynamic sb_statusBarStyle;- (id)sb_hideStatusBar { return objc_getAssociatedObject(self, kHideStatusBar);}- (void)setSb_hideStatusBar:(id)newHideStatusBar { objc_setAssociatedObject(self, kHideStatusBar, newHideStatusBar, OBJC_ASSOCIATION_RETAIN_NONATOMIC);}- (id)sb_statusBarStyle { return objc_getAssociatedObject(self, kStatusBarStyle);}- (void)setSb_statusBarStyle:(id)newStatusBarStyle { objc_setAssociatedObject(self, kStatusBarStyle, newStatusBarStyle, OBJC_ASSOCIATION_RETAIN_NONATOMIC);}- (BOOL) prefersStatusBarHidden { return [self.sb_hideStatusBar boolValue];}- (UIStatusBarStyle)preferredStatusBarStyle{ return (UIStatusBarStyle)[self.sb_statusBarStyle intValue];}@end@interface CDVStatusBar ()- (void)fireTappedEvent;

- (void)updateIsVisible:(BOOL)visible;

@end

@implementation CDVStatusBar

- (id)settingForKey:(NSString*)key

{

    return [self.commandDelegate.settings objectForKey:[key lowercaseString]];

}

- (void)observeValueForKeyPath:(NSString*)keyPath ofObject:(id)object change:(NSDictionary*)change context:(void*)context

{

    if ([keyPath isEqual:@"statusBarHidden"]) {

        NSNumber* newValue = [change objectForKey:NSKeyValueChangeNewKey];

        [self updateIsVisible:![newValue boolValue]];

    }

}

-(void)cordovaViewWillAppear:(NSNotification*)notification

{

    [self resizeWebView];

}

-(void)statusBarDidChangeFrame:(NSNotification*)notification

{

    //add a small delay ( 0.1 seconds ) or statusbar size will be wrong

    __weak CDVStatusBar* weakSelf = self;

    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{

        [weakSelf resizeStatusBarBackgroundView];

        [weakSelf resizeWebView];

    });

}

- (void)pluginInitialize

{

    // init

    NSNumber* uiviewControllerBasedStatusBarAppearance = [[NSBundle mainBundle]

相关文章

  • 美空七彩—放心出行app

    美空七彩天氣,讓您出行更安全,更放心! 美空七彩天氣軟件包含國內外3000多個城市天氣信息,採用國內外多家氣象機構...

  • 老年旅客出行,放心!

    铁路在提升客运服务质量上持续发力,特别针对老年旅客出行,从购票、进站、候车、乘车等多个方面为他们提供全流程暖心服务...

  • 浅谈滴滴出行会员体系-焦金龙

    昨天分析了美团app,今天分析下一个app-滴滴出行。 作为滴滴出行的老用户,滴滴快车刚出来的时候我就用了,距今差...

  • 放心观空

    佛门又名空门,佛亦名空王。佛法体系核心宗旨就是解空;佛法修行就是依教如理观空证空。空为什么那么重要?因为空是转迷为...

  • 上海迪斯尼乐园游玩心得

    一、订票 1、本次是在美团上订票的,所有只写美团上的订票心得,其它APP也可以购票; 2、美团上订票可以选择出行日...

  • 拉面之旅,一路向西

    出行周期✍ 2017/10/01-2017/10/10 出行路线✍ 厦门—济南—德州—张掖—马蹄寺—七彩丹霞—酒泉...

  • 四季彩

    人世多愁苦, 寒冬更无趣。 造物巧安排, 寒尽春即来。 妙手展奇葩, 空枝抽嫩芽。 四季轮回转, 七彩美轮奂。 2...

  • 流量池: 第五章 如何玩好裂变营销

    这几年,裂变营销的确方兴未艾。不仅是出行(滴滴、神州)、外卖(美团、饿了么)、电商(每日优鲜、拼多多)App在大量...

  • 出行清单

    出行前 购票、购买旅游保险、预定酒店、手机安装旅行相关app、 *出行前关好门窗 *出行前倒垃圾 *出行前收好家里...

  • 美愿

    七彩丹霞七彩虹 晴雨初霁绚天空 有心留住美倩影 祈愿时光为君停

网友评论

    本文标题:美空七彩—放心出行app

    本文链接:https://www.haomeiwen.com/subject/vmykjftx.html