Skip to content

Conversation

FrankWu100
Copy link

More appropriate use of Traditional Chinese habit

(id)initWithHTMLString:(NSString*)HTMLString;

  • When loading web only from HTMLString and didn’t set customURL, the actionButton will be disable.

(id)initWithHTMLString:(NSString_)HTMLString customURL:(NSURL_)URL;

  • When loading web from HTMLString and have set customURL, the actionButton will be enable, and use customURL to share URL.

More appropriate use of Traditional Chinese habit
Can be reload and go back from next web, because save a temp html file
in to tmp dir.
- (id)initWithHTMLString:(NSString*)HTMLString;
When loading web only from HTMLString and didn’t set customURL, the
actionButton will be disable.

- (id)initWithHTMLString:(NSString*)HTMLString customURL:(NSURL*)URL;
When loading web from HTMLString and have set customURL, the
actionButton will be enable, and use customURL to share URL.
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

Successfully merging this pull request may close these issues.

1 participant