-
大小: 67KB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2021-06-11
- 語言: 其他
- 標簽: UIScrollView??自動布局??AutoLayout??Stroyboard??
資源簡介
UIScrollView在故事板中使用自動布局來實現(xiàn)垂直方向的滾動
相關的教程在 http://blog.csdn.net/h1101723183/article/details/41895479

代碼片段和文件信息
//
//??AppDelegate.m
//??ViewUIHierarchy
//
//??Created?by?Pop?Web?on?14/12/1.
//??Copyright?(c)?2014年?黃旺鑫.?All?rights?reserved.
//
#import?“AppDelegate.h“
@interface?AppDelegate?()
@end
@implementation?AppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????//?Override?point?for?customization?after?application?launch.
????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?throttle?down?OpenGL?ES?frame?rates.?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?inactive?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??2014-12-02?08:34??UIScrollViewWithAutoLayout\
?????文件????????6148??2014-12-02?08:39??UIScrollViewWithAutoLayout\.DS_Store
?????目錄???????????0??2014-12-16?17:02??__MACOSX\
?????目錄???????????0??2014-12-16?17:02??__MACOSX\UIScrollViewWithAutoLayout\
?????文件?????????120??2014-12-02?08:39??__MACOSX\UIScrollViewWithAutoLayout\._.DS_Store
?????目錄???????????0??2014-12-16?16:54??UIScrollViewWithAutoLayout\.git\
?????目錄???????????0??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\branches\
?????文件??????????15??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\COMMIT_EDITMSG
?????文件?????????137??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\config
?????文件??????????73??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\desc
?????文件??????????23??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\HEAD
?????目錄???????????0??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\
?????文件?????????452??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\applypatch-msg.sample
?????文件?????????896??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\commit-msg.sample
?????文件?????????189??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\post-update.sample
?????文件?????????398??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\pre-applypatch.sample
?????文件????????1642??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\pre-commit.sample
?????文件????????1352??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\pre-push.sample
?????文件????????4951??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\pre-reba
?????文件????????1239??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\prepare-commit-msg.sample
?????文件????????3611??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\hooks\update.sample
?????文件????????1400??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\index
?????目錄???????????0??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\info\
?????文件??????????40??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\info\exclude
?????目錄???????????0??2014-12-16?17:02??__MACOSX\UIScrollViewWithAutoLayout\.git\
?????目錄???????????0??2014-12-16?17:02??__MACOSX\UIScrollViewWithAutoLayout\.git\info\
?????文件?????????171??2014-12-01?12:17??__MACOSX\UIScrollViewWithAutoLayout\.git\info\._exclude
?????目錄???????????0??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\logs\
?????文件?????????169??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\logs\HEAD
?????目錄???????????0??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\logs\refs\
?????目錄???????????0??2014-12-01?12:17??UIScrollViewWithAutoLayout\.git\logs\refs\heads\
............此處省略93個文件信息
評論
共有 條評論