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

injection just call -(void)injected #249

Open
zkhCreator opened this issue Jun 13, 2018 · 4 comments
Open

injection just call -(void)injected #249

zkhCreator opened this issue Jun 13, 2018 · 4 comments

Comments

@zkhCreator
Copy link

I installed injectionIII, and ran a new project.When I press command + s, the method -(void)injected called, but viewdidload are not called.How can I reload all code?

@johnno1962
Copy link
Owner

Have you added the required lines to AppDelegate.swift?

@zkhCreator
Copy link
Author

I add load bundle in AppDelegate.m

@johnno1962
Copy link
Owner

You have to code a call to viewDidLoad in your injected method.

@zkhCreator
Copy link
Author

If the reason is it isn't support objc? And what can I do if I wan't to call viewWillAppear and viewDidAppear after viewDidload? Only call these method in injected method?

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