UIScrollView doesn't deal well with subviews requiring touch tracking ...

Just filed bug #6635485:
If you embed a UITextField into a UITableViewCell you can't drag within the text field when it's the first responder (and the keyboard is up) and have the magnifier show up and drag with the touch. (I assume the same problem would happen if a UITextView were used ... but maybe not since it's derived from UIScrollView. I haven't tested that.)
The problem is that the UIScrollView which the UITableView is embedded within seems to be deciding that the touch drag events are scroll gestures and it grabs all of the touches. This also seems to actually screw up the UITextField's internal state (I'm guessing that they're not prepared to accept the "cancel touch events that the UIScrollView generates when it decides to take all the touches).
I've tried using the table view's canCancelContentTouches to NO and I've even tried subclassing UITableView and implementing a touchesShouldCancelInContentView: method which returns NO when the UITextField's are the object. None of this works. The only thing which does work is to disable scrolling by setting scrollEnabled to NO. Unfortunately this causes problem with longer tables where the keyboard slides over the fields one is trying to edit.
Apparently UIScrollView is supposed to have an exception from grabbing touches when the object where the touches began is derived from a UIControl but since UITextField is derived from UIControl this doesn't seem to be working properly. The problem may be caused by the fact that the UIView object which takes the touches (and manages the UITextField editing) is really something called a UIFieldEditor which is an undocumented class.
Since some UIControl-derived objects do work within UIScrollView's, I'm assuming that the issue with UITextField's is an oversight (possibly related to the aforementioned UIFieldEditor class which is taking the touches).
See also other reports of this problem:
http://forums.macrumors.com/showthread.php?t=521818
http://stackoverflow.com/questions/376372/editing-a-uitextfield-inside-a-uitable viewcell-fails

Check out this new thread about using UIScrollView: https://devforums.apple.com/message/85917 It was pretty helpful for me.
The reason you might have a no-op for touchesShouldCancelInContentView is because it has to be in your UIScrollView subclass, not in the child view. (I put it in the child view initially, and got no-ops also.) The ScrollView subclass gets that function called, and then it should probably call a function in your child view to actually tell what to do.

Similar Messages

  • The App Nike   Running is not working well with my Ipod touch 5 th generation It always gives me the wrong distance and velocity. Is it normal? What could I do?

    The App Nike   Running is not working well with my Ipod touch 5 th generation It always gives me the wrong distance and velocity. Is it normal? What could I do?

    Are you using the shoe sensor?
    Try:
    http://www.apple.com/support/nikeplus/troubleshooting/

  • Am I Understanding Correctly That iPhoto Doesn't Work Well With Others?

    After reading all the previous posts and topics on iPhoto vs. LR2 and such with RAW/NEF file formats, they simply don't work well with each other, right?
    Basically, what I am trying to understand like a lot of others is that the way they read/write file info is dramatically different.
    I just started using LR2 in the trial period and maybe I'm just not used to it yet but I still like using iPhoto for organizing my library of photos; it seems a lot easier with the folders and albums and such.
    I also started using Nikon's RAW format NEF and working with them in iPhoto is a loser it seems.
    Other than the obvious increase and control and options availabe for editing in LR, is iPhoto all that bad with working with NEF or RAW files? What is the downside to it?
    Thanks for reading.
    John

    The problem is that Lightroom and iPhoto are essentially the type of application.
    They are both Photo Managers, they both want to own and control the pics, to be your central “go to” app for whenever you want to get a photo. Obviously only one can be the primary application.
    Lightroom - a rather more expensive application - is a professional app, aimed at the Pro Photographer. It’s a rather more powerful app in pretty much every way. For a point of comparison, Lightroom is closer to Apple’s Aperture rather than iPhoto.
    On top of that, earlier versions of Lightroom had a bug in the way that it wrote metadata to the file and iPhoto was unable to import these files - tho’ I believe that’s been fixed since.
    As to the RAW/NEF issue, There’s no point dealing in filetypes. Each model of camer produces a different RAW file, so what you need to tell us is the Model of Nikon you use. For instance iPhoto imports the NEFs from my D40 with no problems.
    As to “working well with others” iPhoto integrates with just abou every app on your mac, make the pics available in every ‘Open...’ dialogue in the OS, with Mail app and an any image editor you care to mention.
    Regards
    TD

  • Sun one server 6.0 doesn't work well with explorer

    We've sun one server 6.0 sp4 running in a sparc server as SSL server and too as common server on port 80. The most our clients , 95%, are explorer browser users.
    The server has known bugs with SSL3 , interoperatibility with MSIE problem 532427. The solutions suggested in the server documentation don't work. We tryed the solutions suggested many times and in few time we got complaints from clients, people get "this page can't be displayed". I had to set the server to work with SSL2 only , althought security's reports tell that this protocol is not safe.
    The second bug is concern the latencies loading pages with explorer. I apply the solution suggested, KeepAliveQueryMeanTime 1, it doesn't work well too. We don't feel the latencies on new machines or light browsers as avant , but we still feel these latencies with old machines or if the users uses modem. A lot of people still see very strong latencies.
    I feel the server wasn't tested enough with explorer browser , it has so many compatibility problems with this browser.I think for the most webmasters the perfect compatibility with explorer is very important.
    We payed for this server and it is worst than apache ,apache group fixed the SSL problem long time ago. Only one thing we need doesn't work well in apache then we contenue to use sun one server. But this diference is not enough to justify the use of this server if sun don't fix these problems. I'm talking about problems they exist more than 1 year, they were when i installed the server then i contenue to work with iplanet 4.1 and SSL2. I read the new version server characteristics, version 6.1 , i didn't find anything telling that these problems were fixed.
    Yair Lapin
    Hebrew University Webmaster

    Yair -
    Unfortunately this is a little vague. Can you tell us specifically what problem(s) you're having (unfortunately your current message does not go into adequate detail for us to understand the problems you see, or to make recommendations about how to remedy them).
    Thanks
    Joe

  • Urgent - Upgraded Form doesn't works well with values saved by previous ver

    Hi all,
    Form i m working on has changed many times due to change in requirments.
    Everytime i do addition in old form, it doesn't works well be data saved by older versions.
    e.g.
    Current Version that i have upgraded fetchs the data well from database on query. But when i save it, clear or exit the form and then re-query that data, it doesn't show up instead meassage comes that query caused no records to be fetched.
    i checked at database level, data is there.
    and when i tried to call data from old form, it also refused to show it (data that was previously entered by itself but then saved by new form).
    what could be the problem and i can i resolve it.
    plz note that in all of this process, there are no database level changes, only form level changes.
    regards,
    yasir

    sounds like spaces are being padded at the end of the data
    check the length of the values you've changed in sqlplus and see if they are indeed right padded

  • Extreme w/static IP doesn't work well with iPhone

    At our school I've installed a new Extreme Base Station, but we're having trouble with a couple of iPhones not automatically picking it up. Sometimes using the web browser or email makes it connect, but not always.
    Our school district requires that the Base Station have a static IP address, and it's just bridging our wired network, not doing DHCP. With my older Airport at home the iPhone picks it up even before I can get out of my car in the garage - but it's not a static IP and there is another router on my network doing DHCP.
    Does the static IP and no DHCP make the Airport connection not as automatic at school? I got this because one of our principals and I both have iPhones - and he's not real happy so far with it.
    Any ideas welcome.

    If your base station has a static IP address, what about any computers that are connecting to it? If there are any such, what are they using for IP addresses?
    Everything in the entire school district (80+ schools, 50,000+ students) has a static IP.
    Do you know why your school district has that policy? Would they be willing to allocate a set of IP addresses to your base station, so that you could configure it to "Distribute a range of IP addresses"?
    I think they perceive the static IP approach to be more secure. No, we're not allowed to do any DHCP anywhere in the entire district - I've asked
    It seems to be working fairly well now, it's just odd. If I stand near the base station with my iPhone:
    -sometimes it automatically switches to the wifi icon
    -sometimes it doesn't, but then does when you use Mail or Safari
    -sometimes it uses 3G instead of wifi at first
    It's like it takes 30-90 seconds for the iPhone to really recognize and use the wifi. I have never seen that before and the only difference is that this base station and the iPhone are static IPs and no DHCP.

  • Itunes doesn't work well with icloud - will Match make it perfect?

    I was quite excited by the security and convenience possibilities of icloud and music. I am very disappointed that I have to buy a yearly subscription service to get if to work properly.
    I am about to go through the six steps to get match for itunes working. And *that* requires a computer that I don't have.
    Background: When I heard about icloud I thought 'What a great concept! I can backup everything - I lose my phone, my music - no problem.'
    Not quite. Aside from other problems with icloud (another post coming) itunes is NOT integrated with icloud. NEW USERS BE WARNED. Weird thing is that icloud works for everything else, even my 1800 videos and photographs.
    I did a restore from icloud and about 30% of my songs did not show up, 25% of my playlists were greyed out (empty) and 15% had disappeared. Songs showed up in some lists (purchased) but not others (albums?) What the heck? I observed that going to my account at itunes store showed everything and there was a cloud symbol with a downwards arrow, i.e. download. I have slow wifi at home and no data service on my phone so this was a headache downloading all my songs one by one and reorganizing/creating playlists manually. Imagine if I had 50000 songs! This hassle was even though *all* songs were purchased from itunes. Nit a single ripped CD or torrented song.
    Based on multiple previous disappointments and different stories depending on who I talk to at Apple I am skeptical of whether Itunes Match will truly make my iphone5 musical experience seamless and problem-free. I have 5000 songs from various sources (mostly ripped CDs from public libraries but also some internet sources) on a hard drive overseas and the concept of replacing them with superior bit rates and album art is appealing. But I am cautious. His do I know Apple doesn't change the rules 5 years from now - technically or legally? And if I miss a yearly payment will my songs self-destruct?

    iCloud is not iTunes Match. The two services are seperate and distinct and one service does not require the other. iTunes Match does not use iCloud storage, nor is it a backup service.
    iTunes Match only scans, matches and uploads tracks in an iTunes library. It does not not do this on an iOS device. You cannot even purchase iTunes Match except through iTunes on a computer.
    You should take a look at this page to get a better idea of what iTunes Match is and does: http://www.apple.com/itunes/itunes-match/

  • IPhoto '11 don't deal well with empty description search nor multiple tags

    In iPhoto '09 I was able to use a condition: "description is/are" and leave the criteria field in blank, and the album would show pictures with empty descriptions.
    When adding massively keywords, if the sample of pictures have some shots with keywords assigned... it would be impossible to add new keywords to that sample.
    Anyone has a workaround over there?

    Thanks Bob for that very fast reply!
    But neither "Modifying hal configuration" nor "Using the Desktop Environment settings" (xfce) worked. So I tried the "I don't want this crap, how do I turn it off?" solution and well it works
    Maybe I turn it back on in a month or so.. but for now i'm fine with no hot plugging but a working keyboard...
    Thanks and Bye!
    smax
    Last edited by smaxer (2008-12-09 17:42:43)

  • Track pad doesn't work well with photoshop

    Hi,
    While using photoshop home, sometimes I don't conect my tablet, as far as I'm good using the trackpad. Lately it doesn't work anymore as a brush, samp, eraser or whatever uses a brush size.
    Reboot everything is the only way it works but not for long, after some operations in photoshop back to the problem...
    Any help?,
    Thanks

    Nobody did offer any solution

  • My shared folder doesn't play well with others.

    On work iMac I do a lot of development work on multiple Windows virtual machines running on a local Win-server thru MS Remote Desktop Connection. My intent is to use a shared folder on my iMac (w/ TimeMachine back-up) to store files worked on using these virtual machines (they are not routinely backed up).
    Get Info shows share folder checked with Read & Write privileges to Me, admin, & everyone.
    When opening file from virtual machine using a MS Office app' documents open in 'Read Only' mod. If I try to Save-As the same filename, I'm locked out and have to return to iMac Get Info and then Apply to all enclosed items.    :-(
    How can I make this work the way I want?

    You need to provide more information.
    What do you mean the Mac "locks up"? Macs typically just see the network and connect and PCs do too.
    I would not think it is virus or trojan causing the problem.
    Have you checked your Belkin router's settings?
    How is your network set up ? What can you tell us?
    How about your Network preferences on the Mac?
    tell us more.
    What happens if the Mac is connected and then you turn on the PC? What happens?

  • Yosemite doesn't work well with Autocad and the trackpad.  The trackpad looses some function

    The trackpad looses some functions with the Autocad.  I can't use the PAN command with the trackpad, I used to work with that command in trackpad when I had the IOS Maverick.  Pleas, check out the problem.
    Regards.

    Do you have this problem with Firefox or Chrome? 
    I think all you can do is let Apple know about this problem that needs fixing
    http://www.apple.com/feedback

  • 7410 doesn't mix well with lightning

    Recently my first 7410 (yes, I have a second) was zapped by lightning. I heard a loud pop from the ajoining room. After I hurried over to the printer I could smell the order of fresh fried electronics. I verified that the power supply still is working. I removed and inspected the main board and control board and panel. Capacitors and other devices all appear intact; I used a pair of magnifiers to do this. Before I continue to tear this entire thing appart, does anyone have a recommended order?

    Tom Kyte has answerd a question on exactly this point, showing how to use PL/SQL tables to do this:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:110612348061
    Justin

  • Does TP-LINK TD-W8968 router work well with the ipod touch 5g?

    i am looking for a good wifi router for my ipod touch 5G and think the TP-LINK TD-W8968 is a good one out there but
    the standard IEEE for it is 802.3u and i dont know if its suited for the iTouch can anyone help me out on this 

    If it is newer router it should work fine.
    iOS: Recommended settings for Wi-Fi routers and access points

  • Is it true that Thunderbird does no longer works well with POP mail servers and only works well with IMAP servers?

    Our email host is telling us that our outdated POP mail server doesn't work well with Thunderbird and it the reason we're having sporadic difficulty sending out emails with attachments when using Thunderbird (no problems when sending emails directly from the email host's web portal and bypassing Thunderbird). We'll often get notification when using Thunderbird and trying to attach PDF'd documents to an email that "Sending of message failed. The message could not be sent because the connection to SMTP server timed out." The email host company is advising that this problem will be solved if we upgrade from the free POP email to the not free IMAP email. True? Or are they just using this Thunderbird problem as an excuse to sign us up for unnecessary services?

    I think they are using this as an excuse.
    Messages are sent via SMTP. Both, POP and IMAP are protocols to receive mail.
    In any case, it would be '''their''' 'outdated POP mail server', not yours.
    Check this article for troubleshooting the problem.
    https://support.mozilla.org/en-US/kb/cannot-send-messages

  • Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road.

    Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road while driving. For that reason, I'm also not interested in adding in headphones or additional devices that have the desired button functions. Going both forward and back would be great but I would be pleased just to have a "sight-free" way to go forward.
    I've seen some mention here and there about ways to maybe change it so the volume buttons change tracks and holding the volume buttons changes the volume... but I don't know what's involved in that or if its even possible/recommended for a new 5th gen iPod. I think its a great device but its sadly lacking in music oriented functions and features... which is disappointing since music is why most people would bother getting one instead of some other "iDevice" :/

    Given that you cannot do what you have asked for, perhaps you simply need to find another solution to your root problem.
    Presumably, you want to skip to the next track because you don't want to hear the current one, and that is because...
    You don't like it.
    You've heard it recently and don't want to hear it now.
    Simply don't want to hear it at this time.
    For problem number 1. Don't put it on the iPod in the first place. (I know, obvious answer!)
    For problem number 2. How about playing from a Smart Playlist (initially created in your iTunes Library) which has only songs you've not played recently?
    For problem number 3. Hhhmmm! Create alternative Playlists for use in the car.
    As for going back to the start of the "now playing" track.... Well, if your Playlist has only songs that you really, really want to hear, then you'll be looking forward to that rather go back to the beginning of the current song.
    I'm not trying to be prescriptive, just giving you food for thought.
    (They are all cheaper options than buying a car which can control the iPod from the steering wheel.)

Maybe you are looking for

  • What is the best way to export HDV from Final Cut Pro 5.1.2 ???

    Should I even use the compressor route? i want my to export hdv footage to dvd studio pro and burn to dvd. i want to understand the best way so it looks like the original mini hdv tape. can anyone help that has experience in this area?

  • Define Import format for location which is connected to database in FDMEE

    Hi, I have created new location in FDMEE and created BefImport script to load data from orcle to Open Interface table. Now, I need to import data from open interface table to FDMEE. Can any one let me know what would be the source system for it as it

  • Is there a way to stretch a background image rather than repeating it?

    I have a one celled table with a background image.  It's really just a gradient strip (gradient going from top to bottom - ending in fade to white).  I want the image to continue all the way across the page.  If I set it to repeat via X, somehow you

  • SQL LOADER LPAD CONTROL FILE QUESTION

    Hi, inthe flat file company_cd is "1" or "01" and center_cd is 3 digits... ex: "493" in the table the userid coulmn should be 6 digits currently i am getting this as userid in the table "010493" is right, because company_cd is "01" "10493" is not rig

  • Ayuda PDF Accesible

    Hola estoy buscando informacion acerca de como hacer bien un PDF accesible, con un documento creado desde un programa de diseño como quark o in design. Hablando de Acrobat : 8 1.-He probado hacerlo con el agregar etiquetas automático y te hace un ord