How to create actionsheet using HTML5 and phonegap cordova2.0 for iphone app?

I am very new to iPhone development and also am fresh to using PhoneGap Coredova 2.0 for iPhone. Am working in Xcode 4.3. I want to create UIActionsheet in my iPhone app using HTML5 for Phonegap iPhone app. I have used Google but am not find any useful guide from there. Could you please help me to create UIActionsheet using HTML5 and Phonegap for iPhone app? Thanks in advance.

Answers


A UIActionsheet is simple a modal window with options on it. In order to do this in PhoneGap, you need to build out the UI yourself. PhoneGap doesn't do anything for you UI wise. There are many UI frameworks out there. You could look at jQuery Mobile or Sencha. There is even jQuery UI, although that may be a bit heavy for a mobiel app. The point is - you would need to use CSS+HTML to create a modal window for your app yourself. It isn't baked into PG.


Need Your Help

API for intercepting text input in another app?

objective-c osx cocoa

I was wanting to make an app similar to something like TextExpander, but I am not sure how you would intercept the text. As far as I can tell, I need to start with NSAccessability. Could anyone share

sqlite query per row

sql sqlite

Fairly new to sqlite (and sql). For each row in a table, I'd like to make a query and append to another table. My current plan is to extract all items in a vector<> and make a call to sqlite for