-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS18 & xCode16从相册选择视频,获取到的视频地址不正确 #939
Comments
WolfMobileDev
changed the title
iOS18 从相册选择视频,获取到的视频地址不正确
iOS18 & xCode16从相册选择视频,获取到的视频地址不正确
Oct 9, 2024
我试了下真机上没问题,可能是你用的模拟器的原因 |
我用 iOS18 真机,也是有这个问题,不是模拟器 |
用的什么版本,我试的是15Pro 18.0.1版本 |
iOS18的路径有问题 换个属性 使用relativePath代替absoluteString 如 urlASset.URL.relativePath |
你好,来信已收到,谢谢
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#iOS18获取的地址
urlStr String "file:///Users/jinru.lu/Library/Developer/CoreSimulator/Devices/FBD4396E-B801-4CE7-B3A9-FCB90E1FD711/data/Media/DCIM/100APPLE/IMG_0009.MOV#YnBsaXN0MDDRAQJfEBtSZWNvbW1lbmRlZEZvckltbWVyc2l2ZU1vZGUQAAgLKQAAAAAAAAEBAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAr"
path String "/Users/jinru.lu/Library/Developer/CoreSimulator/Devices/FBD4396E-B801-4CE7-B3A9-FCB90E1FD711/data/Media/DCIM/100APPLE/IMG_0009.MOV#YnBsaXN0MDDRAQJfEBtSZWNvbW1lbmRlZEZvckltbWVyc2l2ZU1vZGUQAAgLKQAAAAAAAAEBAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAr"
#iOS17获取的地址
urlStr String "file:///Users/jinru.lu/Library/Developer/CoreSimulator/Devices/E9023516-42F6-40DA-8652-965FB58F586F/data/Media/DCIM/100APPLE/IMG_0007.MOV"
path String "/Users/jinru.lu/Library/Developer/CoreSimulator/Devices/E9023516-42F6-40DA-8652-965FB58F586F/data/Media/DCIM/100APPLE/IMG_0007.MOV"
The text was updated successfully, but these errors were encountered: