摘要: 1、按钮 UIButton UIButton btn = new UIButton(); btn.Frame = new RectangleF(150,310,80,30); //按钮位置一件宽高 btn.SetTitle("Button",UIControlState.Normal); //显示的 阅读全文
posted @ 2017-01-04 09:34 iZKang 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1. 尽可能的减少HTTP请求数 2. 使用CDN 3. 添加Expires头(或者 Cache-control) 4. Gzip 组件 5. 把CSS样式放在页面的上方。 6. 将脚本放在底部(包括内联的) 7. 避免在CSS中使用Expressions 8. 将javascript和css独立成 阅读全文
posted @ 2017-01-04 09:32 iZKang 阅读(149) 评论(0) 推荐(0) 编辑
摘要: AngularJS 表达式({{ expression }})类似于 AngularJS ng-bind 例子: 阅读全文
posted @ 2017-01-04 09:30 iZKang 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta name="MobileOptim 阅读全文
posted @ 2017-01-04 09:28 iZKang 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1、Resources: 文件夹存放应用程序所。 2、AppDelegate.cs: 主要的应用程序类别(class) ,并接听 系统事件及相对应的事件处理。 3、Entitlements.plist: 设置服务是否开启等内容。 4、ViewController.cs: 负责视图控制器的生命周期 相 阅读全文
posted @ 2016-10-20 23:00 iZKang 阅读(164) 评论(0) 推荐(0) 编辑
摘要: NSString urlstring = new NSString("http://211.155.229.230:8585/api/users/postregister"); NSMutableUrlRequest request = new NSMutableUrlRequest(new NSU 阅读全文
posted @ 2016-08-11 20:48 iZKang 阅读(340) 评论(0) 推荐(0) 编辑