06 2012 档案

摘要:NSString *deviceUuid = dev.uniqueIdentifier; NSString *deviceName = [dev.name stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]; NSString *deviceModel = [dev.model stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]; NSString *deviceSystemVersion = dev.systemVers... 阅读全文
posted @ 2012-06-29 09:44 xianyuan 阅读(258) 评论(0) 推荐(0)
摘要:- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate{ if (myTable->isLoading) { return; } myTable->isDragging = NO; if (scrollView.contentOffset.y <= -60) { [self refresh]; } else if (scrollView.contentOffset.y + scrollVi... 阅读全文
posted @ 2012-06-28 18:19 xianyuan 阅读(168) 评论(0) 推荐(0)
摘要:判断页面滚动到底部事件。android上面低码。mWebView = (WebView) findViewById(R.id.webView1); mWebView.setHorizontalScrollBarEnabled(false); mWebView.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY); // mWebView.setScrollBarStyle(SCROLLBARS_INSIDE_OVERLAY); WebSettings webSetting = mWeb... 阅读全文
posted @ 2012-06-06 22:54 xianyuan 阅读(256) 评论(0) 推荐(0)
摘要:package org.iblogger;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import android.view.View;public class MyView extends View { public MyView(Context context) { super(context); } @Override protected void on... 阅读全文
posted @ 2012-06-06 14:08 xianyuan 阅读(1814) 评论(0) 推荐(0)