I'm using a UIWebView to display formatted text from local HTML. Is it possible to have specific links in the HTML call Obj-C functions? For example, clicking a link to have a new view appear? Or am I resigned to using Javascript?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- React Native Inline style for multiple Text in sin
- How can I implement password recovery in an iPhone
- Set BaseUrl of an existing Pdf Document
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How to get rid of border around and image used as
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Removing the href attribute
You can use UIWebViewDelegate:shouldStartLoadWithRequest:navigationType: to intercept the URL and do something with it. E.g.