[TIMOB-19993] SafariDialog: Title parameter ignored - does it even exist in iOS?
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2015-11-16T16:25:51.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Hans Knöchel |
Created | 2015-11-16T15:06:01.000+0000 |
Updated | 2017-03-16T22:13:45.000+0000 |
Description
When I run the [example included in the module](https://github.com/appcelerator-modules/Ti.SafariDialog/blob/master/example/app.js) on iPhone and iPad I can't see the title parameter of the [open method](http://docs.appcelerator.com/platform/latest/#!/api/Modules.SafariDialog-method-open) being used anywhere. I also can't find it in [Apple's reference](https://developer.apple.com/library/prerelease/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/index.html), so does it even exist?
Sure it [exists](https://developer.apple.com/library/prerelease/ios/documentation/SafariServices/Reference/SFSafariViewControllerDelegate/index.html), we just give it to the native API. Maybe it's unused for now.
But that's in
safariViewController:activityItemsForURL:title
. I'm no Obj-C expert but I don't see how that relates to: https://github.com/appcelerator-modules/Ti.SafariDialog/blob/master/iphone/Classes/TiSafariDialogModule.m#L153 And if it is related to activityItems.. when I share through whatever way the title never appears.Closing ticket as invalid.