-
Notifications
You must be signed in to change notification settings - Fork 181
show info (e.g. title/URL) on navigation bar based on a NS_OPTIONS #52
Conversation
…ationBar) instead of using showPageTitleAndURL
@dzenbot then if user uses |
This looks great! Thanks for doing this @eflyjason |
Generally looks good @dzenbot @eflyjason , but it would be better if we can have two optimizations:
self.infoOnNavigationBar = DZNWebInfoOnNavigationBarURL | DZNWebInfoOnNavigationBarTitle; which means both show url and title. But it turns out this is not working in this PR. Thanks for this @eflyjason. |
bfd7414. Done :) |
So can merge it? 😁 |
@@ -52,14 +62,16 @@ typedef NS_OPTIONS(NSUInteger, DZNsupportedWebActions) { | |||
@property (nonatomic, readwrite) DZNWebNavigationTools supportedWebNavigationTools; | |||
/** The supported actions like sharing and copy link, add to reading list, open in Safari, etc. Default is All. */ | |||
@property (nonatomic, readwrite) DZNsupportedWebActions supportedWebActions; | |||
/** The information to be shown on navigation bar. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to document which is the default value.
You mean |
see #56 |
Yes exactly. |
|
Show info (e.g. title/URL) on navigation bar based on a
NS_OPTIONS(DZNWebInfoOnNavigationBar)
instead ofshowPageTitleAndURL
used previouslyBTW I think the name of this
NS_OPTIONS(DZNWebInfoOnNavigationBar)
can be better. Can anyone help?