在利用air的CameraRoll调取ios设备的相册时需要定义位置。我们一般这么操作

var crOpts:CameraRollBrowseOptions = new CameraRollBrowseOptions();
crOpts.height = 480;
crOpts.width = 320;
crOpts.origin = new Rectangle(e.target.x, e.target.y, e.target.width, e.target.height);
var cr:CameraRoll = new CameraRoll();
cr.browseForImage(crOpts);

这里CameraRollBrowseOptions的高设为480,宽设为320可以避免产生缩放动画

同时还有两个访问相册的ane可以使用

https://github.com/freshplanet/ANE-ImagePicker

https://github.com/rivella50/ANE-CameraRoll

最新文章

  1. BZOJ 2081: [Poi2010]Beads
  2. 关于在终端运行rosrun时找不到对应的包的解决方法
  3. Web 开发最有用的50款 jQuery 插件集锦——《图片特效篇》
  4. QWord2vec:word2vec移植版+GUI
  5. Entity Framework 5.0基础系列
  6. iOS-NSDate
  7. 【Asphyre引擎】学习笔记(二)
  8. BZOJ 1855 股票交易(单调队列优化DP)
  9. CyclicBarrier
  10. 机器学习——Logistic回归
  11. vim 编辑器 打开GB2312、GBK文件乱码解决方法
  12. 深入理解Binder(一),从AIDL谈起
  13. BZOJ2005: [Noi2010]能量采集 莫比乌斯反演的另一种方法——nlogn筛
  14. Fragment和activity之间的通信
  15. bitnami redmine安装、配置、备份、恢复(这篇文章靠谱)
  16. IOS学习之路十八(通过 NSURLConnection 发送 HTTP 各种请求)
  17. Graph - leetcode [图]
  18. 拥抱.NET Core系列:依赖注入(1)
  19. 在Spring Boot中使用swagger-bootstrap-ui
  20. 【转载】【吵架】能力 说清自己的能力。表达清楚 ;别人发飙你也要撕b;换位思考,把自己当领导层

热门文章

  1. 解剖Nginx·模块开发篇(3)ngx_http_hello_world_module 模块的基本函数实现
  2. NSArray 快速求和、平均值、最大值、最小值
  3. linux系统chkconfig使用方法及服务开机启动
  4. 登录模块(前端bookstrapValidator校验+加密+后台加密+后台验证)
  5. 区分 hdfs hbase hive hbase适用场景
  6. leetcode - database - 177. Nth Highest Salary (Oracle)
  7. Exception in thread "main" org.springframework.beans.factory.BeanCreationException
  8. ubuntu安装meshlab
  9. [Training Video - 4] [Groovy] Object equality and variable equality check
  10. Mac Sublime 相关资源