New Cordova InAppBrowser buttons -
is there way style or, @ least, set desired buttons in new browser window?
i know can childbrowser plugin, , can live new cordova - want seek new inappbrowser standard.
thanks
i've playing bit , add together new button duplicating close button code within cdvinappbrowser.m file. changed name closebutton sharebutton , function callback 1 new function wnshare this:
self.sharebutton = [[uibarbuttonitem alloc] initwithbarbuttonsystemitem:uibarbuttonsystemitemsave target:self action:@selector(wnshare)]; self.sharebutton.enabled = yes; self.sharebutton.imageinsets = uiedgeinsetszero; self.sharebutton.style = uibarbuttonitemstyleplain; self.sharebutton.width = 38.000;
then can add together action want perform when button clicked adding code new function:
- (void)wnshare { /* whatever ou want when button tapped goes here */ }
right i'm looking on how open dialogbox , show many share links share current website displayed through different social medias. if have clue please tell :-)
i wrote total list of modification blog if needs that: http://blog.cubeinspire.com/how-to-add-a-new-event-type-into-cordova-2-4-0-phonegap-2-4-0-to-the-plugin-inappbrowser/
cordova
No comments:
Post a Comment