Suche senden
Hochladen
005
•
Als KEY, PDF herunterladen
•
0 gefällt mir
•
822 views
Stronger Shen
Folgen
Bildung
Melden
Teilen
Melden
Teilen
1 von 27
Jetzt herunterladen
Empfohlen
105-2 iOS程式設計(六)
105-2 iOS程式設計(六)
Hao Lee
004
004
Stronger Shen
CS193P Lecture 5 View Animation
CS193P Lecture 5 View Animation
onoaonoa
11 UINavigationController
11 UINavigationController
Tom Fan
I os 10
I os 10
信嘉 陳
I os 07
I os 07
信嘉 陳
I os 01
I os 01
信嘉 陳
I os 16
I os 16
信嘉 陳
Empfohlen
105-2 iOS程式設計(六)
105-2 iOS程式設計(六)
Hao Lee
004
004
Stronger Shen
CS193P Lecture 5 View Animation
CS193P Lecture 5 View Animation
onoaonoa
11 UINavigationController
11 UINavigationController
Tom Fan
I os 10
I os 10
信嘉 陳
I os 07
I os 07
信嘉 陳
I os 01
I os 01
信嘉 陳
I os 16
I os 16
信嘉 陳
I os 09
I os 09
信嘉 陳
07 View Controllers
07 View Controllers
Tom Fan
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
Ming-Sian Lin
13 UIPopoverController and Modal View Controller
13 UIPopoverController and Modal View Controller
Tom Fan
I os 02
I os 02
信嘉 陳
15 Subclassing UITableViewCell
15 Subclassing UITableViewCell
Tom Fan
12 Camera
12 Camera
Tom Fan
09 UITableView and UITableViewController
09 UITableView and UITableViewController
Tom Fan
06 Subclassing UIView and UIScrollView
06 Subclassing UIView and UIScrollView
Tom Fan
Core data lightweight_migration
Core data lightweight_migration
Michael Pan
Er introduction
Er introduction
Yubei Li
Android应用开发 - 沈大海
Android应用开发 - 沈大海
Shaoning Pan
JQuery Mobile 框架介紹與使用
JQuery Mobile 框架介紹與使用
EZoApp
Uliweb cheat sheet_0.1
Uliweb cheat sheet_0.1
modou li
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
Johnny Sung
UIKit-Swift
UIKit-Swift
Ryan Chung
掌星 移动互联网开发笔记-Vol001
掌星 移动互联网开发笔记-Vol001
rainx1982
jQuery Mobile
jQuery Mobile
彭其捷 Jack
移动Web开发框架jqm探讨
移动Web开发框架jqm探讨
newker
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Fred Lin
10.2.1 马来西亚各州名称的由来六年级历史单元练习马来西亚各州名称的由来练习
10.2.1 马来西亚各州名称的由来六年级历史单元练习马来西亚各州名称的由来练习
PUAXINYEEMoe
1.🎉“黑客”如何修改成绩?🤔🎉 在这个信息爆炸的时代,我们经常会看到各种作弊手段。但是你知道吗?有一种作弊方式可能比你想象中更巧妙:它就是——黑客![单...
1.🎉“黑客”如何修改成绩?🤔🎉 在这个信息爆炸的时代,我们经常会看到各种作弊手段。但是你知道吗?有一种作弊方式可能比你想象中更巧妙:它就是——黑客![单...
微信 tytyqqww业务接单
Weitere ähnliche Inhalte
Ähnlich wie 005
I os 09
I os 09
信嘉 陳
07 View Controllers
07 View Controllers
Tom Fan
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
Ming-Sian Lin
13 UIPopoverController and Modal View Controller
13 UIPopoverController and Modal View Controller
Tom Fan
I os 02
I os 02
信嘉 陳
15 Subclassing UITableViewCell
15 Subclassing UITableViewCell
Tom Fan
12 Camera
12 Camera
Tom Fan
09 UITableView and UITableViewController
09 UITableView and UITableViewController
Tom Fan
06 Subclassing UIView and UIScrollView
06 Subclassing UIView and UIScrollView
Tom Fan
Core data lightweight_migration
Core data lightweight_migration
Michael Pan
Er introduction
Er introduction
Yubei Li
Android应用开发 - 沈大海
Android应用开发 - 沈大海
Shaoning Pan
JQuery Mobile 框架介紹與使用
JQuery Mobile 框架介紹與使用
EZoApp
Uliweb cheat sheet_0.1
Uliweb cheat sheet_0.1
modou li
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
Johnny Sung
UIKit-Swift
UIKit-Swift
Ryan Chung
掌星 移动互联网开发笔记-Vol001
掌星 移动互联网开发笔记-Vol001
rainx1982
jQuery Mobile
jQuery Mobile
彭其捷 Jack
移动Web开发框架jqm探讨
移动Web开发框架jqm探讨
newker
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Fred Lin
Ähnlich wie 005
(20)
I os 09
I os 09
07 View Controllers
07 View Controllers
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
iOS App 開發 -- Storybard 基礎練習、APP 上架、IAP
13 UIPopoverController and Modal View Controller
13 UIPopoverController and Modal View Controller
I os 02
I os 02
15 Subclassing UITableViewCell
15 Subclassing UITableViewCell
12 Camera
12 Camera
09 UITableView and UITableViewController
09 UITableView and UITableViewController
06 Subclassing UIView and UIScrollView
06 Subclassing UIView and UIScrollView
Core data lightweight_migration
Core data lightweight_migration
Er introduction
Er introduction
Android应用开发 - 沈大海
Android应用开发 - 沈大海
JQuery Mobile 框架介紹與使用
JQuery Mobile 框架介紹與使用
Uliweb cheat sheet_0.1
Uliweb cheat sheet_0.1
製作 Unity Plugin for iOS
製作 Unity Plugin for iOS
UIKit-Swift
UIKit-Swift
掌星 移动互联网开发笔记-Vol001
掌星 移动互联网开发笔记-Vol001
jQuery Mobile
jQuery Mobile
移动Web开发框架jqm探讨
移动Web开发框架jqm探讨
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Developer也可以做出漂亮網站 - Twitter Bootstrap/JQuery Mobile簡介
Kürzlich hochgeladen
10.2.1 马来西亚各州名称的由来六年级历史单元练习马来西亚各州名称的由来练习
10.2.1 马来西亚各州名称的由来六年级历史单元练习马来西亚各州名称的由来练习
PUAXINYEEMoe
1.🎉“黑客”如何修改成绩?🤔🎉 在这个信息爆炸的时代,我们经常会看到各种作弊手段。但是你知道吗?有一种作弊方式可能比你想象中更巧妙:它就是——黑客![单...
1.🎉“黑客”如何修改成绩?🤔🎉 在这个信息爆炸的时代,我们经常会看到各种作弊手段。但是你知道吗?有一种作弊方式可能比你想象中更巧妙:它就是——黑客![单...
微信 tytyqqww业务接单
法国蒙彼利埃国家高等建筑学院毕业证制作/德语歌德B1证书/加拿大新斯科舍省农业学院文凭加急制作一个
法国蒙彼利埃国家高等建筑学院毕业证制作/德语歌德B1证书/加拿大新斯科舍省农业学院文凭加急制作一个
michaelell902
1.1.3急救你必须懂四年级设计与工艺练习活页练习单元一四年级设计与工艺急救你必须懂
1.1.3急救你必须懂四年级设计与工艺练习活页练习单元一四年级设计与工艺急救你必须懂
PUAXINYEEMoe
啟思中國語文 - 中二 單元一 - 孟嘗君列傳 - 記敍的方法和人稱1.pptx
啟思中國語文 - 中二 單元一 - 孟嘗君列傳 - 記敍的方法和人稱1.pptx
businesshealthwise
1.🎉成绩单,你的成绩! 💡🔥每个人都有自己的成绩单,它记录着我们努力的成果。但有时候,看着这些数字,却发现它们好像在嘲笑我?别担心,让我来告诉你们怎么改...
1.🎉成绩单,你的成绩! 💡🔥每个人都有自己的成绩单,它记录着我们努力的成果。但有时候,看着这些数字,却发现它们好像在嘲笑我?别担心,让我来告诉你们怎么改...
微信 tytyqqww业务接单
taibif_開放資料流程-清理資料01-通則_20240509_20240509.pdf
taibif_開放資料流程-清理資料01-通則_20240509_20240509.pdf
jhujyunjhang
taibif_資料標準概念介紹_20240509_20240509_20340509.pdf
taibif_資料標準概念介紹_20240509_20240509_20340509.pdf
jhujyunjhang
Math Chapter3-教學PPT第03單元形體關係、體積與表面積Grade Six
Math Chapter3-教學PPT第03單元形體關係、體積與表面積Grade Six
611002610
Kürzlich hochgeladen
(9)
10.2.1 马来西亚各州名称的由来六年级历史单元练习马来西亚各州名称的由来练习
10.2.1 马来西亚各州名称的由来六年级历史单元练习马来西亚各州名称的由来练习
1.🎉“黑客”如何修改成绩?🤔🎉 在这个信息爆炸的时代,我们经常会看到各种作弊手段。但是你知道吗?有一种作弊方式可能比你想象中更巧妙:它就是——黑客![单...
1.🎉“黑客”如何修改成绩?🤔🎉 在这个信息爆炸的时代,我们经常会看到各种作弊手段。但是你知道吗?有一种作弊方式可能比你想象中更巧妙:它就是——黑客![单...
法国蒙彼利埃国家高等建筑学院毕业证制作/德语歌德B1证书/加拿大新斯科舍省农业学院文凭加急制作一个
法国蒙彼利埃国家高等建筑学院毕业证制作/德语歌德B1证书/加拿大新斯科舍省农业学院文凭加急制作一个
1.1.3急救你必须懂四年级设计与工艺练习活页练习单元一四年级设计与工艺急救你必须懂
1.1.3急救你必须懂四年级设计与工艺练习活页练习单元一四年级设计与工艺急救你必须懂
啟思中國語文 - 中二 單元一 - 孟嘗君列傳 - 記敍的方法和人稱1.pptx
啟思中國語文 - 中二 單元一 - 孟嘗君列傳 - 記敍的方法和人稱1.pptx
1.🎉成绩单,你的成绩! 💡🔥每个人都有自己的成绩单,它记录着我们努力的成果。但有时候,看着这些数字,却发现它们好像在嘲笑我?别担心,让我来告诉你们怎么改...
1.🎉成绩单,你的成绩! 💡🔥每个人都有自己的成绩单,它记录着我们努力的成果。但有时候,看着这些数字,却发现它们好像在嘲笑我?别担心,让我来告诉你们怎么改...
taibif_開放資料流程-清理資料01-通則_20240509_20240509.pdf
taibif_開放資料流程-清理資料01-通則_20240509_20240509.pdf
taibif_資料標準概念介紹_20240509_20240509_20340509.pdf
taibif_資料標準概念介紹_20240509_20240509_20340509.pdf
Math Chapter3-教學PPT第03單元形體關係、體積與表面積Grade Six
Math Chapter3-教學PPT第03單元形體關係、體積與表面積Grade Six
005
1.
資策會行動開發學院 iPhone/iPad App 設計開發 沈志宗
stronger@mit.com.tw
2.
2012/11/20 iOS 語法基礎
使用者介面綜觀 • TabBar Controller • UIScrollView 應用, 動、 放大、縮小 • 實作結合使用者介面及圖 處理的相片瀏覽程式
3.
Tab Bar Controller
4.
Tab Bar -
UITabBarController
5.
UITabBarController • 選擇被選中的 ViewController
tabBarController selectedViewController • 選擇被選中的 tab 頁籤索引值 tabBarController selectedIndex
6.
UITabBarControllerDelegate 決定某個頁籤是否可以被選上 -(BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController: (UIViewController
*)viewController 頁籤被選中後會觸發的事件 -(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController: (UIViewController *)viewController 通知代理者頁籤位置即將開始被調整 -(void)tabBarController:(UITabBarController *)tabBarController willBeginCustomizingViewControllers:(NSArray *)viewControllers 通知代理者頁籤位置即將結束調整 -(void)tabBarController:(UITabBarController *)tabBarController willEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed 通知代理者頁籤位置已調整完畢 -(void)tabBarController:(UITabBarController *)tabBarController didEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed
7.
Tab Bar +
Navigation Controllers
8.
實作練習 tabbar1
9.
UIScrollView 應用 動、
放大、縮小
10.
認識 UIScrollView 的
property 與 method frame contentSize contentOffset contentInset minimumZoomScale maximumZoomScale -(UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView -(void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale: (float)scale -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
11.
在一般的 UIView 加入
subview subview.frame = ...; [view addSubview:subview];
12.
在一般的 UIView 加入
subview subview.frame = ...; [view addSubview:subview];
13.
在 UIScrollView 加入
subview scrollView.contentSize = CGSizeMake(3000, 2000); subview1.frame = CGRectMake(2700, 100, 120, 180); [view addSubview:subview];
14.
在 UIScrollView 加入
subview scrollView.contentSize = CGSizeMake(3000, 2000); subview2.frame = CGRectMake(50, 100, 2500, 1600); [view addSubview:subview];
15.
在 UIScrollView 加入
subview
16.
在 UIScrollView 加入
subview
17.
在 UIScrollView 加入
subview subview2.frame = CGRectMake(0, 0, 2500, 1600); scrollView.contentSize = CGSizeMake(2500, 1600);
18.
在 UIScrollView 加入
subview CGPoint upperLeftOfVisible = scrollView.contentOffset;
19.
在 UIScrollView 加入
subview scrollView.bounds
20.
在 UIScrollView 加入
subview CGRect visibleRect = [scrollView convertRect:scrollView.bounds toView:subview];
21.
實作練習 ScrollViewDemo
22.
實作練習
ScrollViews 練習 UIPageControl 分頁 UITapGestureRecognizer 手勢
23.
UIImage •
直接載入在 App 內的圖片 UIImage *image = [UIImage imageNamed:@"DSC03027.jpg"]; • 網路載入 NSURL *url = [NSURL URLWithString:@”http://xxx.jpg”]; NSData *data = [NSData dataWithContentsOfURL:url]; image = [[UIImageView alloc] initWithImage: [UIImage imageWithData: data]]; • 模擬器路徑 /Users/username/Library/Application Support/iPhone Simulator • 存到相簿 UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil); - (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo: (void *)contextInfo 範例 scroll_enhanced
24.
實作結合使用者介面 圖
處理的相片瀏覽程式
25.
UIImagePickerController •
sourceType UIImagePickerControllerSourceTypePhotoLibrary, //圖庫中的所有資料夾 UIImagePickerControllerSourceTypeCamera, //使用相機拍攝新的照片或影片 UIImagePickerControllerSourceTypeSavedPhotosAlbum //圖庫中的預設資料夾(相機膠 卷) 範例 album, 11.1.4 可檢視相簿圖形(p.11-8)
26.
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
27.
沈志宗 Stronger Shen
(Appletrees) • http://mit.com.tw http://iphone.to • stronger@mit.com.tw shen@iphone.to strongershen@gmail.com
Hinweis der Redaktion
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Jetzt herunterladen