iOS开发核心技术
文章平均质量分 50
快放开那女孩
走在iOS的路上
展开
-
Two-stage rotation animation is deprecated. This application should use the smoother single-stage an
iOS7 64程序报错:Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation.在“Build Setting”中将“Architectures”改成“Standard Architectures (including 64-b原创 2014-03-28 16:10:39 · 1921 阅读 · 0 评论 -
iOS 8 模糊视图(毛玻璃效果)的简单实现UIVisualEffectView
iOS8带来了更多好玩的API。原创 2014-10-20 17:39:40 · 3656 阅读 · 1 评论 -
UIView和层的区别?
最近公司有一道笔试题:UIView和层的区别?yu'shi'hu原创 2014-11-05 12:03:09 · 744 阅读 · 0 评论 -
iOS Objective-C Block 的使用示例
//登录block实例-(void)LoginWithAccount:(NSString *) account password:(NSString *) password completion:(void (^) (BOOL success)) completion{ if ([account isEqualToString:password]) {原创 2014-10-29 10:06:03 · 727 阅读 · 0 评论 -
iOS UITableView索引选择
UITableViewy索引选择- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView原创 2014-08-14 14:08:20 · 1019 阅读 · 0 评论 -
iOS开发swift语法初级篇—————(swift技术交流群:361513739)
iOS开发之swift语法初级篇,传送门,感谢z!原创 2014-06-04 13:59:30 · 1361 阅读 · 0 评论 -
天气接口所有城市代码
http://m.weather.com.cn/data/101110101.html101010100=北京101010200=海淀101010300=朝阳101010400=顺义101010500=怀柔101010600=通州101010700=昌平101010800=延庆101010900=丰台101011000=石景山10101110原创 2014-04-03 11:27:23 · 2293 阅读 · 0 评论 -
iOS开发之NSNotificationCenter的使用
1、系统通知的使用方法如下图,点击UITextField时弹出将会弹出软键盘,并会触发系统通知:UIKeyboardWillShowNotification,本例将实现在观察到此通知时,让UITextField失去第一响应者,键盘无法弹出,具体代码如下:、//注册观察者,绑定监听事件,监听通知名称:UIKeyboardWillShowNotification原创 2014-03-23 18:59:58 · 1337 阅读 · 0 评论 -
修改 UIImagePickerController 选择照片状态栏颜色及导航栏按钮标题字体颜色
1、新建一个类继承自: UIImagePickerController2、在新建的类中重写以下方法#pragma mark status bar style- (UIStatusBarStyle)preferredStatusBarStyle{ returnUIStatusBarStyleLightContent;}原创 2015-01-07 14:45:12 · 5315 阅读 · 0 评论