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

Does it support OC calls? #3

Open
smallevil opened this issue Jul 15, 2022 · 1 comment
Open

Does it support OC calls? #3

smallevil opened this issue Jul 15, 2022 · 1 comment

Comments

@smallevil
Copy link

My code is written in OC. There are pictures that need to use this function.
Can OC be called? Are there any examples?
thanks

@smallevil
Copy link
Author

When I use swift, pictures cannot be screencast.
But when I call with oc, I use the following statement:
[self.view addSubview:(ShyView*)imageView ? (ShyView*)imageView : imageView];
It works fine, but still able to take screenshots.
Where did I spell it wrong?

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