Send Objectiv-C data to javascript var
- Hali: Pending
- Zawadi: $30
- Wasilisho Zilizopokelewa: 3
Maelezo ya Shindano
Hi, I have an Phonegap app with login section in my index.html. For push notification I have implement separately from this tutorial http://www.easyapns.com. Token generated from that tutorial is send directly from AppDelegate.m to my server and my server send notification to mobile device back.
So, my problem is that I need that TOKEN in my login section of the app in index.html so that I can post it in my database with my username and password.
So if someone know how to send variable from IOS Objective C to javascript web view?
the AppDelegate.m is attached, the generated TOKEN is on line 205
Ujuzi unaopendekezwa
Bodi ya Ufafanuzi ya Umma
Jinsi ya kuanza kwa kutumia mashindano
-
Chapisha Shindano Lako Haraka na rahisi
-
Pokea Wasilisho Nyingi Kutoka kote ulimwenguni
-
Tuza wasilisho bora zaidi Pakua faili - Rahisi!