Send Objectiv-C data to javascript var

  • Status: Pending
  • Hadiah: $30
  • Entri Diterima: 3

Deskripsi Kontes

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

Keahlian yang Disarankan

Papan Klarifikasi Publik

Belum ada pesan.

Bagaimana untuk memulai sebuah kontes

  • Buat kontes Anda

    Buat Kontes Anda Cepat dan mudah

  • Dapatkan jutaan entri

    Dapatkan Jutaan Entri Dari seluruh dunia

  • Pilih entri terbaik

    Pilih entri terbaik Unggah file - Mudah!

Buat sebuah Kontes Sekarang atau Gabung dengan kami Hari ini!