FaceBook 代码中重要备份&nbs…
来源:互联网 发布:unity3d 5.x 破解 编辑:程序博客网 时间:2024/06/06 04:02
UIImage* closeImage = [UIImageimageNamed:@"FBDialog.bundle/images/close.png"];
UIColor* color = [UIColor colorWithRed:167.0/255 green:184.0/255blue:216.0/255 alpha:1];
_closeButton = [[UIButton buttonWithType:UIButtonTypeCustom]retain];
[_closeButton setImage:closeImageforState:UIControlStateNormal];
[_closeButton setTitleColor:colorforState:UIControlStateNormal];
[_closeButton setTitleColor:[UIColor whiteColor]forState:UIControlStateHighlighte
[_closeButton addTarget:self action:@selector(cancel)
forControlEvents:UIControlEventTouchUpIns
// To be compatible with OS 2.x
#if __IPHONE_OS_VERSION_MAX_ALLOWED <=__IPHONE_2_2
_closeButton.font = [UIFont boldSystemFontOfSize:12];
#else
_closeButton.titleLabel.font = [UIFontboldSystemFontOfSize:12];
#endif
_closeButton.showsTouchWhenHighlighte
_closeButton.autoresizingMask =UIViewAutoresizingFlexib
| UIViewAutoresizingFlexib
[self addSubview:_closeButton];
- FaceBook 代码中重要备份&nbs…
- C# 代码控制BarTender9.4&nbs…
- eclipse MyEclipse中安装&nbs…
- zoj2008 || poj1511&nbs…
- kdevelop + konsole&nbs…
- android videoview&nbs…
- poll, select &&nbs…
- Start/stop Oracle&nbs…
- unsupported major.minor&nbs…
- iOS UIDeviceOrientation&nbs…
- Remove WifiStateTracker&nbs…
- Remove WifiStateTracker&nbs…
- 关于Expression: invalid&nbs…
- @Inheritance(strategy =&nbs…
- intel fortran11.0&nbs…
- 【PHP】symfony Warning:&nbs…
- storm-Understanding the&nbs…
- 【转】android Videoview&nbs…
- android 混淆
- iOS 剪贴板使用相关总结《转》
- 让用户在应用中进入 App&nbsp…
- iOS网页专用,打开iSecret App
- 排列组合公式/排列组合计算公式
- FaceBook 代码中重要备份&nbs…
- Java学习笔记 - 自动类型转换与运算符
- 图片处理之 截取图片
- MPMoviePlayerController使用,以…
- fckeditor的使用
- win7下硬盘安装centos 6.5
- iSecret 官方资料
- iSecret 1.1 正在审核中
- IOS开发的开源库