自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

NightWish

退一步,人去楼空

  • 博客(12)
  • 资源 (6)
  • 收藏
  • 关注

原创 关于NavigationBar背景图片和颜色的设置

第一种:直接在你的UIViewController中设置//颜色设置,采用RGB格式UIColor *bgcolor = [UIColorcolorWithRed:255.0f/255.0fgreen:0.0f/255.0f blue:0.0f/255.0f alpha:1.0f];self.navigationController.navigationBar.tintCo

2012-06-30 18:11:17 29689

转载 _OBJC_CLASS_$_CALayer"问题解

解决方法:Make sure you also add the QuartzCore framework to your target. Just importing the header isn't enough.也就是在你的Frameworks里面添加QuartzCore.framework

2012-06-29 15:03:25 1800

原创 关于NavigationItem.rightBarButtonItem设置

第一种:UIImage *searchimage=[UIImage imageNamed:@"search.png"];    UIBarButtonItem *barbtn=[[UIBarButtonItem alloc] initWithImage:nil style:UIBarButtonItemStyleDone target:self action:@selector(sea

2012-06-29 11:50:10 54672

转载 iOS中,按钮图标的要求

After you’ve decided on the appearance of your icon, follow these guidelines as you create it:* Use the PNG format.* Use white with appropriate alpha and no shadow.* Use anti-aliasing.* For

2012-06-29 10:06:05 2292

转载 UIAlertView用法

1. 最简单的用法UIAlertView*alert = [[UIAlertView alloc]initWithTitle:@"提示"                                                   message:@"这是一个简单的警告框!"

2012-06-28 18:26:01 579

原创 NavigationController关于页面导航

要使用NavigationController页面导航,第一,得有个NavigationController实例对象和要导航的页面关联起来;第二,导航的页面和被导航的页面之间得先建立push segue;当上述条件都成立的时候,有下面二种方式实现导航第一种:选中Push Segue,将其Identifier先命名,比如“pushsegue”;然后在你想要发生导航的事件里面调用

2012-06-28 14:09:21 872

原创 关于MediaPlayer.framework框架导入Frameworks之后.m文件中还是无法识别其中的类

在Linked Frameworks and Libraries中导入MediaPlayer.framework后,还得在要调用其类的.m文件的头文件.h中用以下语句导入#import

2012-06-26 18:51:00 2814

原创 import"" 与import<>

在Linked Frameworks and Libraries中导入framework时,在.m文件中使用import我在用Audio Toolbox.framework时就遇到在运行中声音无法正常播放

2012-06-22 10:43:56 939

原创 在storyboard中随意获取窗体对象,可以实现页面导航

UITableViewController  *startingTableController=[self.storyboardinstantiateViewControllerWithIdentifier:@"UITableViewController"];[self.view addSubview:startingTableController.view];//inst

2012-06-20 15:22:09 7702

原创 IOS翻页动画

[UIViewbeginAnimations:@"View Flip"context:nil];[UIViewsetAnimationDuration:3.25];//setAnimationDuration:设置动画时间[UIViewsetAnimationCurve:UIViewAnimationCurveEaseInOut];//设置动画曲线类型,有四种,没感觉出什么

2012-06-20 13:51:35 3493

转载 addSubview和insertSubview的区别

addSubview 是将view加到所有层的最顶层相当于将insertSubview的atIndex参数设置成view.subviews count即[view addSubview:oneview] == [view insertSubview:oneview atIndex:view.subviews count]addSubview是加到最后in

2012-06-20 13:42:04 1426

转载 The run destination My Mac 64-bit is not valid for Running the scheme 'MultiTouchDemo'

问题:The run destination My Mac 64-bit is not valid for Running the scheme 'MultiTouchDemo'.The scheme 'MultiTouchDemo' contains no buildables that can be built for the SDKs supported by the run d

2012-06-20 11:17:13 1320

SVN服务端及客户端

svn,用于日常开发的版本管控或办公类文件版本管控,不用担心误操作而导致工作前功尽弃,可以进行恢复操作

2012-11-27

IOS FTP 支持断点续传

本源代码是关于ios 中ftp功能的实现,支持断点续传,体现在downloaddelegate.h文件中

2012-08-02

IOS获取文件、目录所占空间大小

IOS获取文件、目录所占空间大小 可配合下文参照 http://blog.csdn.net/zhuzhihai1988/article/details/7776164

2012-07-23

iOS 下拉、右拉更新界面

iOS 下拉、右拉更新界面,希望能够对刚刚学习ios的新手有用

2012-07-23

C#资源管理器

本程序是利用C#中的TreeView制作而成的资源管理器,包含源代码,调试通过,希望能给你带来帮助

2011-12-03

InstallShield使用教程

这是关于Install+Shield使用教程,适合初学者使用

2011-07-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除