Skip to content
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

The path get by Nat.image.pick can't be used in NSData #47

Open
biscuithx opened this issue Jun 27, 2018 · 1 comment
Open

The path get by Nat.image.pick can't be used in NSData #47

biscuithx opened this issue Jun 27, 2018 · 1 comment

Comments

@biscuithx
Copy link

ENV: ios11.4, iphone 8 simulator

I get a path by Nat.image.pick like this:
nat://static/image/B84E8479-475C-4727-A4A4-B77AA9980897/L0/001
And I need use the aliyun-oss-ios-sdk to upload my image. But when I try to use NSData* data = [NSData dataWithContentsOfFile:filePath]; to read the image, I get a "(null)". Is the path above a real path in system? How can I resolve it.

@jianxiongc
Copy link

Hi,biscuithx

我在进行上传时也碰到了同样的问题,通过 nat://static/image/B84E8479-475C-4727-A4A4-B77AA9980897/L0/001这个是无法取得Data数据的。 请问有比较好的解决方案吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants