91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

IOS修改導航欄高度demo,項目非常簡單簡潔,方便大家參考如何正確地修改UINavigationController中的MyNavigationBar高度,博客地址https://blog.csdn.net/u010775335/article/details/86176848

資源截圖

代碼片段和文件信息

//
//??AppDelegate.m
//??TestUiViewController
//
//??Created?by?XunFun?on?2019/1/9.
//??Copyright???2019?bigun.?All?rights?reserved.
//

#import?“AppDelegate.h“
#import?“ViewController.h“
#import?“MyNaviViewController.h“
@interface?AppDelegate?()

@end

@implementation?AppDelegate


-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????_window?=?[[UIWindow?alloc]initWithframe:[UIScreen?mainScreen].bounds];
????_window.backgroundColor?=?[UIColor?whiteColor];
????MyNaviViewController*nav?=?[[MyNaviViewController?alloc]initWithRootViewController:[ViewController?new]];
????_window.rootViewController?=nav;
????[_window?makeKeyAndVisible];
????return?YES;
}


-?(void)applicationWillResignActive:(UIApplication?*)application?{
????//?Sent?when?the?application?is?about?to?move?from?active?to?inactive?state.?This?can?occur?for?certain?types?of?temporary?interruptions?(such?as?an?incoming?phone?call?or?SMS?message)?or?when?the?user?quits?the?application?and?it?begins?the?transition?to?the?background?state.
????//?Use?this?method?to?pause?ongoing?tasks?disable?timers?and?invalidate?graphics?rendering?callbacks.?Games?should?use?this?method?to?pause?the?game.
}


-?(void)applicationDidEnterBackground:(UIApplication?*)application?{
????//?Use?this?method?to?release?shared?resources?save?user?data?invalidate?timers?and?store?enough?application?state?information?to?restore?your?application?to?its?current?state?in?case?it?is?terminated?later.
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}


-?(void)applicationWillEnterForeground:(UIApplication?*)application?{
????//?Called?as?part?of?the?transition?from?the?background?to?the?active?state;?here?you?can?undo?many?of?the?changes?made?on?entering?the?background.
}


-?(void)applicationDidBecomeActive:(UIApplication?*)application?{
????//?Restart?any?tasks?that?were?paused?(or?not?yet?started)?while?the?application?was?inactive.?If?the?application?was?previously?in?the?background?optionally?refresh?the?user?interface.
}


-?(void)applicationWillTerminate:(UIApplication?*)application?{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}


@end

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\
?????目錄???????????0??2019-01-09?20:41??TestUiViewController\TestUiViewController.xcodeproj\
?????文件???????15228??2019-01-09?20:41??TestUiViewController\TestUiViewController.xcodeproj\project.pbxproj
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\xcuserdata\
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\xcuserdata\xunfun.xcuserdatad\
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\xcuserdata\xunfun.xcuserdatad\xcschemes\
?????文件?????????355??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\xcuserdata\xunfun.xcuserdatad\xcschemes\xcschememanagement.plist
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\
?????文件?????????165??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\contents.xcworkspacedata
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\xcuserdata\
?????目錄???????????0??2019-01-09?20:42??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\xcuserdata\xunfun.xcuserdatad\
?????文件???????50182??2019-01-09?20:42??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\xcuserdata\xunfun.xcuserdatad\UserInterfaceState.xcuserstate
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\xcshareddata\
?????文件?????????238??2019-01-09?17:18??TestUiViewController\TestUiViewController.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist
?????目錄???????????0??2019-01-09?20:42??__MACOSX\
?????目錄???????????0??2019-01-09?20:42??__MACOSX\TestUiViewController\
?????目錄???????????0??2019-01-09?20:42??__MACOSX\TestUiViewController\TestUiViewController.xcodeproj\
?????文件?????????176??2019-01-09?17:18??__MACOSX\TestUiViewController\TestUiViewController.xcodeproj\._project.xcworkspace
?????文件?????????176??2019-01-09?20:41??__MACOSX\TestUiViewController\._TestUiViewController.xcodeproj
?????目錄???????????0??2019-01-09?20:42??TestUiViewController\TestUiViewController\
?????文件?????????840??2019-01-09?20:23??TestUiViewController\TestUiViewController\MyNaviViewController.m
?????目錄???????????0??2019-01-09?20:42??__MACOSX\TestUiViewController\TestUiViewController\
?????文件?????????333??2019-01-09?20:23??__MACOSX\TestUiViewController\TestUiViewController\._MyNaviViewController.m
?????文件?????????281??2019-01-09?17:18??TestUiViewController\TestUiViewController\AppDelegate.h
?????文件?????????227??2019-01-09?17:18??__MACOSX\TestUiViewController\TestUiViewController\._AppDelegate.h
?????文件????????1319??2019-01-09?20:38??TestUiViewController\TestUiViewController\MyNavigationBar.m
?????文件?????????176??2019-01-09?20:38??__MACOSX\TestUiViewController\TestUiViewController\._MyNavigationBar.m
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController\Assets.xcassets\
?????目錄???????????0??2019-01-09?17:18??TestUiViewController\TestUiViewController\Assets.xcassets\AppIcon.appiconset\
?????文件????????1590??2019-01-09?17:18??TestUiViewController\TestUiViewController\Assets.xcassets\AppIcon.appiconset\Contents.json
?????文件??????????62??2019-01-09?17:18??TestUiViewController\TestUiViewController\Assets.xcassets\Contents.json
............此處省略25個文件信息

評論

共有 條評論