• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Insetting a UIWebView while a keyboard is on screen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Insetting a UIWebView while a keyboard is on screen


  • Subject: Re: Insetting a UIWebView while a keyboard is on screen
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 28 May 2014 17:27:22 -0500

On May 28, 2014, at 2:11 AM, Diederik Meijer <email@hidden> wrote:

> You could consider animating the UiWebview up when the keyboard appears and down again when it disappears.

That works, but then I have the opposite problem - touching in an area that isn't obscured by the keyboard causes it to be moved off the top of the screen. So I tried using UIGestureRecognizer to figure out where the user touched the screen, but UIGestureRecognizers added to UIWebViews don't seem to be called when the view is touched.

So how do I figure out where the user touched the view so the app can know when not to move the view? The AppKit has the -[NSApplication currentEvent] property, but I can't find any UIKit equivalent.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Insetting a UIWebView while a keyboard is on screen
      • From: Diederik Meijer | Ten Horses <email@hidden>
References: 
 >Insetting a UIWebView while a keyboard is on screen (From: Nick Zitzmann <email@hidden>)
 >Re: Insetting a UIWebView while a keyboard is on screen (From: Diederik Meijer <email@hidden>)

  • Prev by Date: UIActivityViewController tinting
  • Next by Date: Re: EXC_BAD_ACCESS in NSData
  • Previous by thread: Re: Insetting a UIWebView while a keyboard is on screen
  • Next by thread: Re: Insetting a UIWebView while a keyboard is on screen
  • Index(es):
    • Date
    • Thread