摘要:
添加AVFoundation.framework库文件1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import ... 阅读全文
随笔档案-2015年07月
利用JavaScriptCore实现简单的功能(阶乘)
2015-07-16 10:05 by 甘雨路, 165 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 #import 3 4 @interface RootViewController () 5 @end 6 7 @implementation RootViewController 8 9 - (void)viewDid... 阅读全文
利用JavaScriptCore实现以下简单的功能(平方和)
2015-07-16 09:55 by 甘雨路, 162 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 #import 3 4 @interface RootViewController () 5 @end 6 7 @implementation RootViewController 8 9 - (void)viewDid... 阅读全文
UIScrollView 实现比例缩放
2015-07-14 21:27 by 甘雨路, 428 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 3 @interface RootViewController () 4 { 5 UIImageView *imageView; 6 UILabel *scaleRatioLabel;// 显示倍率用的Labe... 阅读全文
iOS 本地加载js文件
2015-07-13 20:25 by 甘雨路, 1277 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 3 @interface RootViewController () 4 5 @property (nonatomic, strong)UIWebView *webView; 6 7 @end 8 9 @implemen... 阅读全文
UIScrollView现实自动循环滚动
2015-07-07 23:39 by 甘雨路, 742 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 3 #define width [UIScreen mainScreen].bounds.size.width 4 #define heigthY 150 5 #define scrollTime 1 6 7 ... 阅读全文
UIScrollView现实循环滚动
2015-07-07 15:43 by 甘雨路, 189 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 3 #define width [UIScreen mainScreen].bounds.size.width 4 #define heigthY 150 5 6 @interface RootViewController ... 阅读全文
iOS 通过接受距离传感器的消息改变屏幕的明暗度(仅限用于真实的手机)
2015-07-06 22:11 by 甘雨路, 452 阅读, 收藏,
摘要:
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplication *)appl... 阅读全文
下拉刷新和上拉加载更多(第三方框架MJRefresh)
2015-07-06 20:01 by 甘雨路, 606 阅读, 收藏,
摘要:
1 #import "RootViewController.h" 2 #import "MJRefresh.h" 3 @interface RootViewController () 4 { 5 UITableView *_tableView ; 6 NSMutable... 阅读全文
UIStepper
2015-07-04 08:18 by 甘雨路, 172 阅读, 收藏,
摘要:
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplication *)appl... 阅读全文
UITextField的文本框部分文本以*的方式来显示
2015-07-03 17:21 by 甘雨路, 213 阅读, 收藏,
摘要:
1 #import "AppDelegate.h" 2 3 @interface AppDelegate ()// 添加代理协议 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplicati... 阅读全文
浙公网安备 33010602011771号