Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4366] iOS: Support Ti.UI.createNotification

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-07-18T13:43:09.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sSprint 2011-28
ComponentsiOS
Labelsn/a
ReporterDawson Toth
AssigneeSabil Rahim
Created2011-06-13T07:23:09.000+0000
Updated2017-03-02T19:30:31.000+0000

Description

Feature

Android has support for toast notifications through the method "Ti.UI.createNotification". We can expand this to support iOS as well, and add documentation to the APIDocs. I'm aware this isn't a native feature of iOS, but it's still something useful we could offer our users. And it shouldn't be too difficult to do, because we already show similar notifications in the kitchen sink using [pure JavaScript](https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/app.js#L103).

Sample Code

The following works on Android:
Ti.UI.createNotification({ message : 'Hello, World!' }).show();

Associated Helpdesk Ticket

http://appc.me/c/HNU-68239-489

Comments

  1. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source