You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can Can i use swizzle a method witht a block implementation
Normal swizzleMetod:(SEL)slector withSelctor:(SEL)newSelector
But I want this
swizzleMetod:(SEL)slector withBlock:(^ )block
because I cannot import WebView(In WebKit framework) to iOS project, but I want swizzle WebView's method, i cannot write a category for WebView, So I cannot find a place to put my newSector, so I want to use block,
Jonathan, can you give me some suggestions?
Thank You!
The text was updated successfully, but these errors were encountered:
But in WebView's category still cannot find WebView When compile, my workmate suggest me to decompile the webkit code to my the WebView's method's list to rewrite the method than I want to swizzle, I think this maybe not so good, so
I am trying other solutions, thank you all the same.
Hi, Jonathan
Normal swizzleMetod:(SEL)slector withSelctor:(SEL)newSelector
But I want this
swizzleMetod:(SEL)slector withBlock:(^ )block
because I cannot import WebView(In WebKit framework) to iOS project, but I want swizzle WebView's method, i cannot write a category for WebView, So I cannot find a place to put my newSector, so I want to use block,
Jonathan, can you give me some suggestions?
Thank You!
The text was updated successfully, but these errors were encountered: