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

fix for undefined symbol on UIGetScreenImage() #10

Open
mjpan opened this issue Jan 19, 2011 · 0 comments
Open

fix for undefined symbol on UIGetScreenImage() #10

mjpan opened this issue Jan 19, 2011 · 0 comments

Comments

@mjpan
Copy link

mjpan commented Jan 19, 2011

for me (ios4.2), in order to not get an undefined symbol error when linking, the line
CGImageRef UIGetScreenImage();

needs to be
UIKIT_EXTERN CGImageRef UIGetScreenImage();

see http://discussions.apple.com/thread.jspa?threadID=2339583 for more details

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