|
[App引擎]
imageClip在安卓机上能正常用,在Iphone上闪退
[复制链接]
imageClip在安卓机上能正常用,在Iphone上闪退,用alert能够读到getPicture返回的data
- var obj = api.require('imageClip');
- obj.open({
- path : ret.data,
- x : 0,
- y : 0,
- w : api.winWidth ,
- h : api.winHeght-70,
- clipRect : {
- x : 150,
- y : 300,
- w : 100,
- h : 100
- },
- layerColor : 'rgba(0, 255, 0, 0.5)'
- }
复制代码
|
|