上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: 如果元素的高度是用100%表示,那么,安卓的键盘弹出时,高度会发生变化,导致布局混乱,所以最好给高度设置像素高度 $("html,body").height(window.innerHeight); 或者 document.body.querySelector("#main").style.heig 阅读全文
posted @ 2018-12-14 09:36 IWing 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: xamarin.forms默认情况下,如果属性是double?类型,绑定到Entry上,是无法实现双向绑定的, 可以自定义Converter实现双向绑定 然后在app.xaml里面,加入资源配置 然后,以后Entry绑定nullable类型时,可以这样写 阅读全文
posted @ 2018-11-21 10:52 IWing 阅读(498) 评论(0) 推荐(0) 编辑
摘要: {Binding Source={x:Reference elementName}, Path=BindingContext.propertyname, Mode=OneWay} elementName是页面里某个view的名称 阅读全文
posted @ 2018-11-17 18:27 IWing 阅读(1030) 评论(0) 推荐(1) 编辑
摘要: 在客户端是俄文的环境下,Convert.ToDouble("1.5")是会报错的,类似Double.Parse等方法也是一样报错, 解决方法是,把全局区域设为英文 System.Globalization.CultureInfo.CurrentCulture = new System.Globali 阅读全文
posted @ 2018-11-15 14:47 IWing 阅读(361) 评论(0) 推荐(0) 编辑
摘要: to check your speed: defaults read -g com.apple.mouse.scaling to set your speed defaults write -g com.apple.mouse.scaling 7 reboot your mac 阅读全文
posted @ 2018-09-09 19:55 IWing 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 方法1:在html中设置 方法2:oc代码解决 阅读全文
posted @ 2018-09-04 16:16 IWing 阅读(345) 评论(0) 推荐(0) 编辑
摘要: public static Binding GetBinding( BindableObject self, BindableProperty property) { var methodInfo = typeof(BindableObject).GetTypeInfo().GetDeclaredMethod("GetContext"); ... 阅读全文
posted @ 2018-08-24 15:38 IWing 阅读(228) 评论(0) 推荐(0) 编辑
摘要: ios默认只支持https协议,打开info.plist文件,加入以下设置 NSAppTransportSecurity NSAllowsArbitraryLoads 阅读全文
posted @ 2018-08-22 17:20 IWing 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 在android项目里,这样设置 更多UIFlag的说明: Flag意义 SYSTEM_UI_FLAG_LOW_PROFILE 弱化状态栏和导航栏的图标 SYSTEM_UI_FLAG_HIDE_NAVIGATION 隐藏导航栏,用户点击屏幕会显示导航栏 SYSTEM_UI_FLAG_FULLSCRE 阅读全文
posted @ 2018-08-12 12:50 IWing 阅读(1541) 评论(0) 推荐(1) 编辑
摘要: 这样可以解决中文乱码 阅读全文
posted @ 2018-08-12 01:39 IWing 阅读(1842) 评论(2) 推荐(1) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页