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

ios 7.1 issue #9

Open
Femina opened this issue Apr 17, 2014 · 1 comment
Open

ios 7.1 issue #9

Femina opened this issue Apr 17, 2014 · 1 comment

Comments

@Femina
Copy link

Femina commented Apr 17, 2014

Thank you first for giving such a good code. I am facing issue when I add applicationActivities as NSArray. In RDActivityViewController, Where i need to add this and how the format should be. I tried almost all possibilities even subclassing UIActivity. I am unable. I just wanna declare my applicationActivities like ,

      NSArray *acitivities = @[UIActivityTypeMail, UIActivityTypeMessage, UIActivityTypePrint, UIActivityTypePostToFacebook, UIActivityTypeCopyToPasteboard];

      RDActivityViewController *activityView = [[RDActivityViewController alloc] initWithDelegate:self maximumNumberOfItems:10 applicationActivities:acitivities placeholderItem:nil];

    activityView.placeholderItem = dataToShare; // dataToShare --- This has NSString , NSURL and UIImage
    [parent presentViewController:activityView animated:YES completion:Nil];

My app getting crash & throwing ,

UIActivityViewController crashing, NSCFConstantString _beforeActivity unrecognized selector sent to instance. Help me to get this done.

@Femina
Copy link
Author

Femina commented Apr 17, 2014

Also I am getting as,

: CGContextSetFillColorWithColor: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

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

1 participant