写本文的契机主要是把自己整理的关于iOS字体方面的知识不断更新写在这篇博文中,用来自己以后查阅。一、iOS原生字体展示在label中选择字体的font,并把font由system改成custom后,就能在family中看到72种特殊字体。这些里面就有很炫的字体,但是全部是只针对英文数字,对中文无效。...
分类:
移动开发 时间:
2015-08-06 12:51:47
阅读次数:
199
目前市面上的app都大量是用侧边栏,一般来说三条线可点击可滑动的侧边栏比较流行,先就了解下这种侧边栏的做法1,定义SlideMenu类继承自ViewGroup,主要实现以下功能 onMeasure方法为slideMenu设置好大小 onLayout方法(具体onLayout方法的用法参考这篇ht.....
分类:
移动开发 时间:
2015-08-06 12:50:30
阅读次数:
214
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 多态模拟移动硬盘和U盘{ class Program...
分类:
移动开发 时间:
2015-08-06 12:46:43
阅读次数:
162
转载请注明出处:http://blog.csdn.net/guolin_blog/article/details/12921889有段时间没写博客了,感觉都有些生疏了呢。最近繁忙的工作终于告一段落,又有时间写文章了,接下来还会继续坚持每一周篇的节奏。有不少朋友跟我反应,都希望我可以写一篇关于View...
分类:
移动开发 时间:
2015-08-06 12:43:24
阅读次数:
127
iOS 9应用开发教程之创建iOS 9项目与模拟器介绍
分类:
移动开发 时间:
2015-08-06 12:43:52
阅读次数:
118
nginx.conf#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid ...
分类:
移动开发 时间:
2015-08-06 12:42:14
阅读次数:
205
手机浏览器对header有时用position:fixed;没用,只能用position:absolute;代替,鉴于此,封装了如下代码用于适配和过滤:function isSupportFixed() { var userAgent = window.navigator.userAgent,...
分类:
移动开发 时间:
2015-08-06 12:39:59
阅读次数:
151
public class AppModify { /// /// 依据连接串名字connectionName返回数据连接字符串 /// /// /// public static string GetC...
分类:
移动开发 时间:
2015-08-06 12:40:17
阅读次数:
137
.border-image-1px { border-width: 1px 0px; -webkit-border-image: url("border.png") 2 0 stretch; border-image: url("border.png") 2 0 stretch;}
分类:
移动开发 时间:
2015-08-06 12:37:44
阅读次数:
114
iphone的标准推荐CFNetwork C库编程.但是编程比较烦躁。在其它OS往往用类来封装的对Socket函数的处理。比如MFC的CAsysncSocket.在iphone也有类似于开源项目.cocoa AsyncSocket库,官方网站:http://code.google.com/p/coc...
分类:
移动开发 时间:
2015-08-06 12:34:58
阅读次数:
138
数据表MMS模块总共包含17张表:addr、android_metadata、attachments、canonical_addresses、drm、part、pdu、pending_msgs、rate、raw、sms、sr_pending、threads、words、words_content、w...
分类:
移动开发 时间:
2015-08-06 12:33:26
阅读次数:
234
/*这一句是用来解决在安卓上的点击出现篮框问题*/body{ -webkit-tap-highlight-color:rgba(0,0,0,0); }/*下面是解决ios上去除微信点击蓝色边框 */a:focus,input:focus,p:focus,div:focus{-webkit-tap-h...
分类:
移动开发 时间:
2015-08-06 12:32:37
阅读次数:
255
Volley is an HTTP library that makes networking for Android apps easier and most importantly, faster. Volley is available through the openAOSPreposito...
分类:
移动开发 时间:
2015-08-06 12:31:54
阅读次数:
154
关于APP产品的一些安全测试点:安装包测试能否反编译代码一旦有源代码泄露公司的知识产权会受到影响,而且还有安全风险。测试中我们直接使用反编译工具查看源代码,看是否有敏感信息泄露,是否进行了代码混淆。(Android平台常用的反编译工具是的dex2jar和jd-gui)安装包是否有签名主要针对Andr...
分类:
移动开发 时间:
2015-08-06 12:31:57
阅读次数:
148
mainactivity:package com.imooc.android_webview;import android.app.Activity;import android.app.ActionBar;import android.app.Fragment;import android.app...
分类:
移动开发 时间:
2015-08-06 12:30:07
阅读次数:
142
KStoreProductViewController类是UIViewController的子类,。希望向用户展示App Store中产品时,需要:1.实例化一个SKStoreProductViewController类2.设置它的delegate3.把sotre product视图控制器显示给消费...
分类:
移动开发 时间:
2015-08-06 12:30:50
阅读次数:
127
原先在 Eclipse中 数字签名(SHA1或MD5)的获取方法 为: 点击 Eclipse导航栏的Windows --> Preference --> Android --> Build 现在 改到 Android Studio 或 IntelliJ IDEA下开发Android 应用, 没用找到只用鼠标点击...
分类:
移动开发 时间:
2015-08-06 11:27:02
阅读次数:
206