Moto 双卡 指定卡发送短消息 phoneType =1 为GSM卡 0为CDMA卡 XT788实测可用. public String sendMSG(String phone, String msg,int phoneType) { S […]
编程
一、安装 JDK 下载JDK最新版本,下载地址如下: http://www.oracle.com/technetwork/java/javase/downloads/index.html 这里我下载的是: Java SE Developme […]
1:ios设备越狱,很简单 登录 http://evasi0n.com/ 一步一步操作就好了 2:创建证书 打开 实用工具-钥匙串访问。然后在菜单栏里点击钥匙串访问-证书助理-创建证书来打开向导。 第一个步骤比较重要,必须要把名称命名为iP […]
UIStoryboard *tableViewStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil]; UIViewController * v […]
原项目没有使用storyboards,但是现在发现storyboard的static cell很好用,怎么才能用上呢? Static table view cells 只在使用storyboards是才可用.所以还是只能创建UIStoryB […]
UITableView 的 cell 中 添加UITapGestureRecognizer没效果,查找多事都无法触发UITapGestureRecognizer事件,偶然看到需在cell的imageView设置userInteraction […]
1: 创建一个UIViewController,这个子UIViewController的xib中,放置一个UITableView .h中添加 添加 UITableView的IBOutlet 在init中: //子view初始化 self.t […]
ASIHttpRequest编译报连接错误: _CFHTTPAuthenticationIsValid", referenced from: -[ASIHTTPRequest attemptToApplyProxyCredenti […]
1:确保python有easy_install这个包,没有就装! 确保cmd中执行路径. 2:lxml的windows安装包 http://pypi.python.org/pypi/lxml/2.3/ 3:easy_install pyqu […]
#encoding=utf-8 import sqlite3 from time import clock as now start = now( ) ############################################ […]