I wanted to add some native controls to my iPhone phonegap project and
generally play with the view of my project. In 0.8 that was quite
obvious with the .xib files found in Ressources. Now, with the edge
version, they aren't there anymore and I didn't find them anywhere
else
Can anyone give me a hint and tell me, what I have to do, to get those
files, so I can add some native controls.
Thanks a lot
chregu
You'll either need to:
1) modify the objective C to add your native controls by hand; or
2) look into the plugins to see if there's one already to do as you
need/add the controls you want (eg: tabbar); or
3) reverse out the changes to 0.9edge for your own custom build
returning to a handbuilt/static interface; or
4) use 0.8.... :)
I would suggest option2, keeping the Objective C core as pure as
possible....
-Dx
On Feb 9, 6:58 pm, "D. Rimron" <dar...@xalior.com> wrote:
> On 09/02/2010 17:45, Christian Stocker wrote:> Can anyone give me a hint and tell me, what I have to do, to get those
> > files, so I can add some native controls.
>
> Edge now uses a programatically built interface, this makes it
> resolution independant and great for stuff like the iPad. :)
Thanks for the answer and too bad that isn't as easy as it was with
0.8 (and I don't really like to go back to an in the near future
obsolete version :))
We plan to write an application just for the iPad with no plans for
other devices. We plan to use some of the new native controls for
this, but we also really like to write most of the functionality in
HTML/JavaScript with some connection between native code and HTML/JS,
as phonegap of course provides the possibility.
I'll look into the code and hopefully will find a solution, which
doesn't need to much Objective-C to start with :)
Greetings
christian
http://github.com/chregu/phonegap-iphone
and what to do is decribed here
http://github.com/chregu/phonegap-iphone/blob/master/README.xib
chregu