码迷,mamicode.com
首页 > 移动开发
iOS 修改状态栏颜色
状态栏,默认为黑色,改为白色步骤: 1.在info.plist中添加键值对: <key>UIViewControllerBasedStatusBarAppearance</key> <false/> 2.添加代码:(添加到什么位置,根据你的需求)[[UIApplication sharedAppli
分类:移动开发   时间:2016-01-27 17:22:45    阅读次数:154
iOS开发精选知识点讲解 - 视频等 iOSStrongDemo是由@李刚维护,总结一些iOS开发精选知识点。每一个知识点都有相应的测试代码,非常适合iOS初学者。
https://github.com/worldligang/iOSStrongDemo iOSStrongDemo是由@李刚维护,总结一些iOS开发精选知识点。每一个知识点都有相应的测试代码,非常适合iOS初学者。 涉及功能点 iOS9横竖屏设置的处理方法和实例讲解 iOS开发之如何跳到系统设置里
分类:移动开发   时间:2016-01-27 17:19:08    阅读次数:166
[chrome-debug]如何使用chrome调试你的移动设备
### usb debug by remote chrome ### https://developer.chrome.com/devtools/docs/remote-debugging ### chrome develop tools ### https://developers.google.
分类:移动开发   时间:2016-01-27 17:13:56    阅读次数:175
ios开发中的4种数据持久化方式【二、数据库 SQLite3、Core Data 的运用】
在上文,我们介绍了ios开发中的其中2种数据持久化方式:属性列表、归档解档。本节将继续介绍另外2种iOS持久化数据的方法:数据库 SQLite3、Core Data 的运用; 在本节,将通过对4个文本框内容的创建、修改,退出后台,再重新回到后台,来认识这两种持久化数据的方式。效果图如下【图1】: 【
分类:移动开发   时间:2016-01-27 17:03:51    阅读次数:257
android不同的按钮一起点击崩溃解决
public class ButtonUtils { private static long lastClickTime; public synchronized static boolean isFastClick() { long time = System.currentTimeMillis(
分类:移动开发   时间:2016-01-27 17:05:16    阅读次数:144
iOS NSNumber转化NSString之description
我们经常需要把一个数字转成字符串,当你不需要配合其他字符串的时候可以用description. 1 /** 2 description属于NSObject 3 值是NSNumber时候,不用stringWithFormate来转化成字符串了.简便得多 4 在解析/赋值的时候比较有用,当我们需要NSS
分类:移动开发   时间:2016-01-27 17:01:02    阅读次数:168
iOS 毛玻璃效果
UIImageView * image=[[UIImageView alloc]init]; image.frame=CGRectMake(0, 0, 320, 568); image.image=[UIImage imageNamed:@"Guide_img_1"]; [self.view add
分类:移动开发   时间:2016-01-27 16:58:15    阅读次数:145
安卓手机短信Android SMS 对话号thread_id如何产生与变化
安卓mmssms.db的sms表的thread_id字段 一个短信号码对应的thread_id字段数字,在手机格机(恢复出厂设置 删除手机上的所有数据)和刷机后会更新。不过这也是显然的,格机和刷机都会删除手机原先所有数据,thread_id自然也就清空,手机号码对应的thread_id又会从1开始计
分类:移动开发   时间:2016-01-27 15:48:39    阅读次数:165
Android 手写Binder 教你理解android中的进程间通信
关于Binder,我就不解释的太多了,网上一搜资料一堆,但是估计还是很多人理解的有困难。今天就教你如何从 app层面来理解好Binder。 其实就从我们普通app开发者的角度来看,仅仅对于android应用层的话,Binder就是客户端和服务端进行通信的媒介。 AIDL就是我们理解Binder 最好
分类:移动开发   时间:2016-01-27 15:47:02    阅读次数:277
Android 短信模块分析(七) MMS数据库定义及结构整理
一. mmssms.db 数据库mmssms.db中表的定义见表4.1至4.18所示: 表4.1 addr(彩信地址) 字段名 类型 描述 备注 _id INTEGER PRIMARY_KEY 主键ID 系统生成 msg_id INTEGER The ID of MM whcich this Add
分类:移动开发   时间:2016-01-27 15:46:49    阅读次数:336
IOS 自定义导航栏标题和返回按钮标题
IOS中自定义导航栏标题: UILabel *titleText = [[UILabel alloc] initWithFrame: CGRectMake(160, 0, 120, 50)]; titleText.backgroundColor = [UIColor clearColor]; tit...
分类:移动开发   时间:2016-01-27 14:38:41    阅读次数:303
iOS开发中UIDatePicker控件的使用方法简介
iOS上的选择时间日期的控件是这样的,左边是时间和日期混合,右边是单纯的日期模式。您可以选择自己需要的模式,Time, Date,Date and Time , Count Down Timer四种模式。本篇文章简单介绍下PickerDate控件的使用1、新建一个Singe View Applica...
分类:移动开发   时间:2016-01-27 14:27:00    阅读次数:267
HDU 1017 A Mathematical Curiosity
数学问题,没难度附代码 1 #include 2 #include 3 4 using namespace std; 5 6 int main() 7 { 8 int N; 9 scanf("%d",&N);10 while(N--){11 int n...
分类:移动开发   时间:2016-01-27 14:27:25    阅读次数:155
突破手游瓶颈,焕发新希望
分类:移动开发   时间:2016-01-27 13:44:41    阅读次数:383
[iOS]修改开发者中心Bundle Identifier的一些配置
登录开发者中心https://developer.apple.com然后找到你的Bundle Identifier。这里暂时只讲开启推送的功能,如果需要别的直接勾选前面的选择框然后拉到最下面点击Done
分类:移动开发   时间:2016-01-27 13:01:33    阅读次数:230
IOS 跳转页面
1. 跳转界面,关闭自身LoginViewController *loginViewController = [[LoginViewController alloc]initWithNibName:@"LoginViewController" bundle:nil]; [self presentV....
分类:移动开发   时间:2016-01-27 12:58:44    阅读次数:150
无法下载图片 App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file
刚学线程通信,提示:2016-01-27 11:11:02.246 20-9 gcd3 communicationOfThread[5193:298643] App Transport Security has blocked a cleartext HTTP (http://) resource ...
分类:移动开发   时间:2016-01-27 12:55:23    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!