Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19993] SafariDialog: Title parameter ignored - does it even exist in iOS?

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2015-11-16T16:25:51.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterFokke Zandbergen
AssigneeHans Knöchel
Created2015-11-16T15:06:01.000+0000
Updated2017-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?

Comments

  1. Hans Knöchel 2015-11-16

    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.
  2. Fokke Zandbergen 2015-11-16

    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.
  3. Lee Morris 2017-03-16

    Closing ticket as invalid.

JSON Source