Well... I solved it like that finally. I've added a javascript to disable long touch menu on url and for iPad I'm replacing all tel:xxx links to http://tel:xxx and catching it on ShouldStartLoad of UIWebViewDelegate to show my own menu but it seems to me like a hacky way to solve such problem. I'd expect web view would recognize it's in popover controller and opens its own menu correctly as this way I'm not able to use built-in system Add to contacts functionality.
Currently I'm waiting for approval again. Petr -----Original Message----- From: Nic Wise [mailto:[email protected]] Sent: 13. srpna 2012 22:32 To: Petr Slováček Cc: [email protected] Subject: Re: [MonoTouch] WebView in PopOver controller problem could you do something in your CSS (it's a webview?) to now show them? or use jquery to find the links and disable them? On Thu, Aug 9, 2012 at 10:25 AM, Petr Slováček <[email protected]> wrote: > Hello everyone, > > > > My universal app gets rejected by Apple yesterday. On iPad I’m opening > a UIPopOverController with UIWebview to show some html text describing > the location on a map view. Sometimes this text contains a phone > number in form of html tag (i.e. <a href=”tel:34323423432”>) tag. Even > if I disable all data detector types this link is still active. In > case it’s touched web view opens another popover with action sheet to Add to > contacts and Copy. > According to Apple statement that’s not in compliance with the App > Store Review Guidelines as there’s more than one popover element > visible on screen at a time and the iOS Human Interface Guidelines > state that only one popover element should be visible on screen at a time. > > > > I spent the whole day trying to find some solution but I wasn’t > successful at all. It seems like bug to me either in UIWebView or > MonoTouch. If I try to open another action sheet from that popover > controller it opens correctly inside it (animated from the bottom of > popover). But for some reason web view doesn’t recognize its inside a popover > and opens another one. > > > > Petr > > > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
