在application: application didFinishLaunchingWithOptions: launchOptions 加入下面代码就可以实现对tabbar的颜色的修改
//设定Tabbar的点击后的颜色
[[UITabBar
appearance] setTintColor:[UIColor
redColor]];
//设定Ta...
分类:
移动开发 时间:
2014-08-01 13:37:31
阅读次数:
248
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{ return UIInterfaceOrientationMaskP....
分类:
移动开发 时间:
2014-08-01 13:23:21
阅读次数:
202
方法一:Json方法 通过对查询出来的结果进行比较 使用函数CompareTo() //Json方法 HttpContext.Current.Response.ContentType = "application/json"; Dat...
分类:
其他好文 时间:
2014-08-01 13:04:41
阅读次数:
216
ExtJS是一种主要用于创建前端用户界面的ajax框架。本案例引入的是extjs4.2的开发包。结构为: 其中app文件是新建的,并在此文件下建MVC的文件夹。每个ExtJS4应用以一个application 类开始。下面为app.js和index.html的文件:app.js:Ext.ap...
分类:
Web程序 时间:
2014-08-01 12:58:51
阅读次数:
265
procedure TForm1.FormCreate(Sender: TObject);
begin Application.HintPause:=0;//立即显示 Application.hinthidepause:=100000;//if not leave then 显示100秒end;
来...
分类:
其他好文 时间:
2014-08-01 12:55:11
阅读次数:
180
昨晚发布这个问题搞了一晚上,发现网上很多解决办法都不靠谱: ServerErrorin'/'Application.RuntimeErrorDescription:Anapplicationerroroccurredontheserver.Thecurrentcustomerrorsettings....
分类:
移动开发 时间:
2014-08-01 10:48:31
阅读次数:
180
tornado有许多关于如何处理路由列表的源码分析的博客,关键在与调用了Application.__call__函数,然后遍历路由列表,取出对应的处理类,由于处理类都是RequestHandler类,调用的是父类的_excute()进行响应处理,我们要了解的是__call__函数和什么时候调用了__call__函数def__cal..
分类:
其他好文 时间:
2014-08-01 07:04:12
阅读次数:
391
$("#ajax").on("click",{btn:$(‘#ajax‘)},function(evdata){
$.get("pull",{id:13},function(data){
console.info(data);
evdata.data.btn.click();
},"json");
});@RequestMapping(value={"pull"},produces={"application/json"},method={RequestMethod.GET})
pub..
分类:
其他好文 时间:
2014-08-01 07:02:01
阅读次数:
268
做网络ios应用难免要用到UIWebViewController,直接嵌入一个html页面。这种native+web的方式再很多app中都有应用,app store就是一个,另外如淘宝iPhone客户端的支付,口碑网iPhone客户端的团购内容,等等。这种实现方式,某种程度上牺牲了一些体验,但大大提...
分类:
Web程序 时间:
2014-08-01 04:35:41
阅读次数:
4210