- 博客(3)
- 收藏
- 关注
iphone开发中sqlite3常用操作
一 使用原生库 1 新建或插入 [code="java"] sqlite3 *db; if (sqlite3_open(@"xx.db", &db) != SQLITE_OK ) { return; } sqlite3_stmt *dbps; int dbrc; NSString *sql = @""; const char *...
2011-03-14 15:21:23 74
为UIWebView添加单击及左右滑动操作
在HTML所在的字符串中合并以下代码 [code="java"] htmlstring = [htmlstring stringByAppendingString:@" \ document.ontouchstart=function(e){ \ e.preventDefault(); \ if(e.touches.length == 1){ \ ...
2011-03-08 11:13:33 133
为UIView添加上下左右滑动操作
方法一: 在viewDidLoad时为UIView添加操作 [code="java"] UISwipeGestureRecognizer *recognizer; recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeFrom:)]; [rec...
2011-03-08 11:05:55 74
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人