参考资料:
http://stackoverflow.com/questions/27653247/how-to-get-real-size-uiview-with-autolayout
问题:
在 storyboard里放了一个UIView,并使用autolayout来约束其宽度。为了获取其实际宽度,我在viewDidLoad里使用了 self.container.frame.size.height,但是发现得到的宽度永远是550。显然,这不是其真实的宽度。
...
参考资料:
http://stackoverflow.com/questions/27653247/how-to-get-real-size-uiview-with-autolayout
问题:
在 storyboard里放了一个UIView,并使用autolayout来约束其宽度。为了获取其实际宽度,我在viewDidLoad里使用了 self.container.frame.size.height,但是发现得到的宽度永远是550。显然,这不是其真实的宽度。
...
Eclipse导入android工程时出现如下提示:
[15:04:03 - XXX] 'default' is not a best match for any device/locale combination.
...参考资料:
https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/457958
问题:
配对时提示密码或PIN错误,但是根本就没有到输入密码这一步,就直接说密码错误了。
环境:
android 6.0,CC254x,协议栈:V1.4.0
...
参考资料:
http://stackoverflow.com/questions/25330938/android-bluetoothgatt-status-133-register-callback
问题:
BLE连接时(使用 .connectGatt),不是提示成功或失败,而是提示:
BluetoothGatt(32027): onClientRegistered() - status=133 clientIf=0
经查:
133 = 0x85,是GATT_ERROR
..