- 博客(16)
- 资源 (2)
- 收藏
- 关注
转载 IOS 图片 移动 缩放 旋转 transform属性
#import "YYViewController.h"//私有扩展@interface YYViewController ()@property(nonatomic,weak)IBOutlet UIButton *headImageView;@end@implementation YYViewController//枚举类型,从1开始//枚举类型有一个很大的作用,就是用来代替程序中的魔法数字
2016-04-24 17:13:20 1640 2
原创 CSS,font-family,好看的中文字体
网上找的 吓得我赶紧保存了 例1(小米米官网):font-family: “Arial”,”Microsoft YaHei”,”黑体”,”宋体”,sans-serif;例2(淘宝技术研发中心):font: 12px/1.5 Tahoma,Helvetica,Arial,’宋体’,sans-serif;例3(加网 ):font: 14px/1.5 ‘Microsoft YaHei’,arial,ta
2016-04-22 16:33:36 6318
转载 html可拖拽图片循环滚动切换
html代码<!DOCTYPE html><html><head lang="zh"> <meta charset="UTF-8"> <title>html5可拖拽图片循环滚动切换</title> <link rel="stylesheet" href="css/reset.css"/> <link rel="stylesheet" href="css/case-
2016-04-22 10:22:47 1799
原创 js两种实现网页图片滚动的方法 和一种切换的方法
第一种用js的window.onload() 先随便来几个图片 路径自己设一下<div id="box" style="margin-top:0px;"> <ul> <li><img src="../img/1.jpg" width="340" height="210"></li> <li><img src="../img/2.jpg" wi
2016-04-22 10:03:29 6525 1
原创 ios切换界面
- (void)viewDidLoad { [super viewDidLoad]; button1 = [[UIButton alloc]initWithFrame:CGRectMake(50, 50, 100, 50)]; button1.backgroundColor = [UIColor redColor]; [button1 addTarget:self a
2016-04-19 11:27:21 507
原创 IOS plist读取写入
new_file plist Property List.plist 读取本地plistNSString *plistPath = [[NSBundle mainBundle] pathForResource:@"Property List" ofType:@"plist"]; NSMutableDictionary *data = [[NSMutableDictionary alloc]
2016-04-18 20:15:24 437
原创 IOS多线程下载图片
ViewController.h#import <UIKit/UIKit.h>@interface ViewController : UIViewController{ UIImageView *imageView;}@property(nonatomic, retain) IBOutlet UIImageView *imageView;@end上面定义一个imageViewViewCo
2016-04-18 19:35:11 360
原创 如何为网页添加导航栏(1)
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>导航栏示例</title></head><body><ul id="navigation"><li><a href="#">首 页<
2016-04-17 15:24:05 1784
原创 网页实现鼠标经过文字后更改颜色
< a href="" class="test">链接内容</a>.test { color:#eeffee;}.test:hover { color:#ff0000;}
2016-04-17 15:20:23 4265
原创 ios 设置 applicationIconBadgeNumber(多少消息未读)
先加权限UIUserNotificationSettings *mySettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeBadge categories:nil]; [[UIApplication sharedApplication] registerUserNotificationSet
2016-04-14 09:30:14 3628
原创 ios 跳转到地图指定位置
先声明一个button 叫 myBtnmyBtn = [[UIButton alloc]initWithFrame:CGRectMake(50, 50, 100, 50)]; myBtn.backgroundColor = [UIColor grayColor]; [myBtn addTarget:self action:@selector(myButtonPressed:) for
2016-04-14 09:22:10 988
原创 IOS UIPanGestureRecognizer 移动图片
先设置一个 UIImageView *imageView; 用来移动实例化imageViewimageView = [[UIImageView alloc]initWithFrame:CGRectMake(20, 20, 100, 100)];[imageView setImage:[UIImage imageNamed:@"1.jpg"]];[self.view addSubview:imag
2016-04-13 21:21:00 1155
原创 frameset
感觉会这东西就可以建一个 这样的网页了首先容器网页 frame.html<body><frameset rows="300,*" frameborder="no" > <frame name="index" src="1.html"/> <frame name="content" src="2.html"></frameset></body>然后导航界面</head><b
2016-04-13 21:10:23 446
原创 html frameset边框问题 去掉横条
frameborder 指定框架边框是否以三维方式显示。yes或1—-三维边框;no或0—-平面边 border 指定框架边框的宽度(以像素为单位)。 border=“0”之后就能隐藏边框了。<body><frameset rows="300,*" frameborder="no" > <frame name="index" src="1.html"/> <frame name
2016-04-13 21:03:51 12997 1
Additional-Tools-for-Xcode-14.3-Release-Candidate.dmg
2023-06-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人