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

no visible @interface for 'RCTImageLoader' declares the selector 'loadImageWithTag:callback' #58

Open
rajatgupta1993 opened this issue Oct 17, 2016 · 1 comment

Comments

@rajatgupta1993
Copy link

I am facing this error in ActivityView.m.
what should I do?

doShare(data){ ActivityView.show({ text: 'ActivityView for React Native', url: 'https://github.com/naoufal/react-native-activity-view', imageUrl: 'https://facebook.github.io/react/img/logo_og.png', anchor: React.findNodeHandle(this.refs.share), }); }

@jingzhaoou
Copy link

See the same issue reported earlier. The following works for me.

NSURL *url = [NSURL URLWithString:imageUrl];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];
[loader loadImageWithURLRequest:imageUrl callback:^(NSError *error, id imageOrData) {

smcguinness added a commit to buzznog/react-native-activity-view that referenced this issue Dec 6, 2016
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