V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
iamjjh
V2EX  ›  iDev

通过 UIImagePickerController 调用照相机拍的照片能转换为 PHAsset 对象吗

  •  
  •   iamjjh · Sep 30, 2015 · 4592 views
    This topic created in 3863 days ago, the information mentioned may be changed or developed.

    有谁有类似经验吗?谢谢

    5 replies    2015-10-09 14:28:19 +08:00
    strom001
        1
    strom001  
       Oct 2, 2015   ❤️ 1
    当然可以。看一下 PHAssetCreationRequest.h
    strom001
        2
    strom001  
       Oct 2, 2015
    需要转换吗?保存到相册就是吧
    iamjjh
        3
    iamjjh  
    OP
       Oct 8, 2015
    @strom001 多谢
    rannie
        4
    rannie  
       Oct 9, 2015
    我都是先保存 再读取的 从 ALAsset 到 PHAsset 都是这么搞得
    iamjjh
        5
    iamjjh  
    OP
       Oct 9, 2015
    @rannie 嗯,问题已解决,也是这么搞的...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3602 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 11:00 · PVG 19:00 · LAX 04:00 · JFK 07:00
    ♥ Do have faith in what you're doing.