[iPhone SDK] Get the *intended" contentOffset in UIScrollViewDelegate calls

Hi all,
a lot of the delegate calls in UIScrollViewDelegate happen before the scrolling is finished, like:
- (void)scrollViewWillBeginDecelerating:(UIScrollView *)scrollView;
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate;
When I'm in these functions, the UIScrollView is still moving to its intended contentOffset. However, the contentOffset property only returns to me the current offset. Is there other property I can look for that tells me the intended offset that the UIScrollView is animating to?
If not, anyone know if a way I can calculate this?
Thanks!
Message was edited by: rizwansattar04
Message was edited by: rizwansattar04

You would need to ask this over at devforums.apple.com. These forums are for regular users of the iPhone rather than developer questions.

Similar Messages

  • Me and my sister use the same itunes but on my new iphone i have a different apple id. how do i hook up my iphone to get the music from her account because my device wont show up in our itunes

    Me and my sister use the same itunes but on my new iphone i have a different apple id. how do i hook up my iphone to get the music from her account on to my iphone because my iphone wont show up in our itunes.

    1patiot1 wrote:
    someone please tell me how to fix this. I cant access any apps or anything because my old apple id keeps showing up on my phone and wont show the new one.
    You created a new AppleID?
    Why not simply update your old AppleID so you have only one iTunes account?

  • I have an apple id but when i want regester with icloud on my iphone  I get the message "THE MAXIMUM NUMBER OF FREE ACCOUNTS HAVE BEEN ACTIVATED ON THIS IPHONE."

    I have an apple id but when i want regester with icloud on my iphone  I get the message "THE MAXIMUM NUMBER OF FREE ACCOUNTS HAVE BEEN ACTIVATED ON THIS IPHONE."
    On the web of icloud when i try to sign in with apple ID i get the Message "THIS APPLE ID IS VALID BUT IS NOT AN ICLOUD ACCOUNT"
    Hence i cant create Icloud account.
    please let me know how i can resolve the above mentioned issue
    Thanks.

    Apple limits iOS devices to three free iCloud accounts, & once that limit is reached on an iOS device you can no longer create a new account on that device. The solution is to create the account on a computer or another iOS device, then set that account up on your present iOS device.

  • When connecting my iPhone I get the following message "The iPhone cannot be used because it requires iTunes version 10.1 or later.  What does this mean? My computer has 10.4.

    When connecting my iPhone I get the following message "The iPhone cannot be used because it requires iTunes version 10.1 or later.  What does this mean? My computer has 10.4.

    That's an issue with your system. Try removing the iTunes and the other APPLE software related from your system and reinstall it again.
    Follow this if you're using XP: support.apple.com/kb/HT1925
    Follow this if you're using VISTA/7: support.apple.com/kb/HT1923
    Follow this if you are using a MAC 10.5.8 or later: support.apple.com/kb/HT1224

  • When I try to sync my iPhone I get the message: The iPhone cannot be synced. You do not have enough access priveleges for this operation.

    When I try to sync my iPhone, I get the message: The iPhone cannot be synced. You do not have enough access priveleges for this operation.
    The iPhone won't sync anymore.  How can I fix this?

    This works even for my ipod on my computer. I recently time machined myself and when i open intunes it always does all that backgroud magic and  pops up saying "....You do not have enough access priveleges for this operation."
    It turns out i don't need that, because i do not use sync. I do not sync. I don't use the sync. I abstain from getting my sync on...etc.
    The first solution posted above works, i'll repeat it but  credit goes to King_Penguin a true friend from the motherland! Just find this one file and delete it.
    YOU LAZY APPLE DEVEOPERS NEED TO FIX THIS ISSUE!
    "I've found this which may (or may not) help : http://www.itjungles.com/iphone-tips/fixed-iphone-sync-error-you-do-not-have-eno ugh-access-privileges-for-this-operation . There's also this thread where the person had the same problem (though on Mac not Windows) http://discussions.apple.com/thread.jspa?threadID=997075"
    I'll save you the legwork, heres what you'll find at that first link, and it works. Win the game!
    "When iTunes attempt to perform a photo synchronization for the first time it will try to create a folder on the computer called "iPod Photo Cache". You normally can located at:
    >User>Pictures>iPhoto Library>iPod Photo Cache.
    To fix this error just delete the folder."

  • When synching the iPhone i get the following message: iTunes could not sync contacts to iPhone because the sync server failed to sync the phone. any idea how to correct this

    Header 1
    Header 2
    when synching iPhone i get the following message: iTunes could not sync contacts to iPhone because the sync server failed to sync the phone. any idea how to fix this problem?

    Did you try the solutions mentioned in this article? iTunes for Windows: "Unable to load data class information from sync services" alert

  • I bought an iphone 5 in December. However my iPhone does not support 1700 HSPA . The current iphone 5 does. Is there any way I can trade my iPhone to get the current iPhone since they are both iphone 5?

    I bought an iphone 5 in December. However my iPhone does not support 1700 HSPA . The current iphone 5 does. Is there any way I can trade my iPhone to get the current iPhone since they are both iphone 5?

    No, you have to sell yours and buy the new iPhone 5 with the proceeds.
    Please do not double post. Asking many times does not change the answer.
    Message was edited by: ckuan

  • Will the iPhone 4S get the siri update?

    As we all know, iPhone 4S' Siri is still a beta. When and if Siri gets the final version, will the iPhone 4S get the update?

    how are you so sure? and do you think they will be adding the latin american version?

  • My iPhone6 goes straight to voicemail when i'm not on a call, people get the "i'm on another call" message, is this easy problem to fix ?

    When people try to call me my iPhone6 goes straight to voicemail when I'm not on a call. People get the "I'm on another call" message, is this an easy problem to fix ?

    Contact your wireless carrier and ask them.

  • HT4528 messaging i sent from my iphone4 my daughters iphone 4s gets the responce anybody thats sends me a message she recieves how can i fix this

    messages sent to my iphone 4 gets recieved by my daughters 4s has been only happining for 2 weeks

    RECEIVING MESSAGES INTENDED FOR OTHER DEVICES
    This occurs if you are sharing the same Apple ID for imessages.
    If you are receiving imessages intended for other devices you can fix this by going to Settings>Messages>Send & Receive and do one of the following:
    Uncheck the email address shown under "You can be reached by iMessage at" on both devices if they are iPhones; or
    On one of the devices go to Settings>Messages>Send & Receive, tap the Apple ID, sign out, then sign in with a different Apple ID.  Note: you can continue to share an Apple ID for the iTunes & App store for purchasing if you wish; it does not need to be the same as the ID you use for iMessage, FaceTime, iCloud and other services.
    To prevent merging of your calendars and contacts when syncing calendars and contacts if you are using the same Apple ID for the iCloud account, be sure to set up separate iCloud accounts on each phone with separated IDs.  Remember that if you change your ID in iTunes & App store, that apps and other purchased content is  forever linked to the ID that was used to download the apps and the apps  can only be updated with the ID that was originally used to download them.  To download content purchased previously downloaded with a particular ID then that ID needs to be used to download past purchases.  If you want all apps to be connected with the same ID you need to delete those apps downloaded with the old ID and download them again with your current and if the apps in question were paid apps then you need to pay again.
    Read http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    If you wish to share an Apple ID with family members then read: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/

  • Can no longer access blueyonder emails on iphone.I get the following error message: The mail server 'imap4.blueyonder.co.uk is not responding', how do I fix pls?

    Hi there
    As I've mentioned above, I can't seem to access my emails from my blueyonder account on my iphone. When I first set up my account on the phone, I had no problems at all receiving emails. Then recently, just out of the blue I get the following error message: 'Cannot Get Mail, The Mail Server 'imap4.blueyonder.co.uk' is not responding.  Verfiy that you have entered the correct account info in mail settings.  I definitely have the right settings, I even checked with Virgin but they are not able to assist with my problem. Has anyone else experienced this problem, if so,how did you fix it? If you could explain in simple terms as I'm not tech savvy!
    Many thanks!

    http://www.apple.com/uk/support/iphone/mail/
    work through this

  • When i send a text (imessage) to my girlfriends iphone I get the same message sent to mine

    When I text (imessage) my girlfriends iphone I keep getting the exact same message sent to my iphone at the same time, how do I stop it doing this. It only started recently. I must have changed a setting but Ive only had the phone a week so not sure. HELP

    If you dont want to recieve eachother messages, then the best solution is for one of you to sign out of the apple id in Settings, itunes and appstore, tap on the apple id, tap sign out, then create a new apple id for that person and resign back in to itunes with the new apple id. This will alleviate your problem.

  • New iPhone 5, getting the "Another device is using your IP address" message

    just got the iPhone on Sunday and turned on the WiFi. Everything was ok until today. Now when I walk into the door and wake up my Mac Mini (OS10.7.5), I get: Another Device on the network is using your computers IP address.
    I then have to reboot the AIrport and turn off WiFi on the iPhone. Things were better.
    According to this article:
    http://osxdaily.com/2010/09/19/another-device-on-the-network-is-using-your-compu ters-ip-address/
    there's a chance my iPhone is commanding the space. I suspected as much because this has  happened before with other Apple products here. Any thoughts on this?

    Reset your router. Two devices are attempting to use the same IP address.
    Cheers,
    GB

  • Will the iPhone 5 get the iOS7 update?

    I have the iPhone 5, and I was wondering if it will get the iOS7 update?

    Yes.
    When it is released on 18th Sept 2013 you will be able to Update.
    How to update your iPhone, iPad, or iPod touch
    Be sure to Back Up first.
    It is always prudent and recommended to Backup before any major Update / Upgrade.
    How to BackUp
    http://support.apple.com/kb/ht1766
    What gets Backed Up
    iTunes http://support.apple.com/kb/ht4946
    iCloud http://support.apple.com/kb/PH2584

  • HT4528 IPHONE 5 gets the message "invalid sim" and "sim failure" - how do I fix this?

    I keep getting the message: "sim failure" or "invalid sim". I have a not changed anything on the phone other that adding the recent update. How do I fix this?

    If  that doesn't work, you can just take out the sim and put it back in. To take it out, you put a paperclip into the small hole on the right side of you iphone. Press it in and the sim will eject. Then just press it back in once removed. Hope this helps.

Maybe you are looking for

  • Issues adding swfs created in Flex to a Captivate project

    The company I work with, ePath Learning Inc. has an online authoring tool called eActivity that we use to publish different eLearning templates. This online tool is built completely in Flex and uses the Flex compiler to ouput a swf file that can be u

  • Publis HTML content into OBIEE

    Hi all, in 10 g we put some html files under <oracle_home>\bise1\bi\oc4j_bi\j2ee\home\applications\analytics\analytics\res and accessed them on the portal with http://<server_name>:9704/analytics/res/BI/<file_name>.htm How can we do the same on OBIEE

  • Why does safari seem to have an extra window?

    New windows in Safari (5.1.9 (6534.59.8)) open, as always, shifted to the right a little from the prior window. I know the location of the first window when Safari opens because I always want it to be in the same position - therefore I always termina

  • Can't use develop tab, says it's expired

    I just recently installed CC and lightroom and I'm pretty sure when I first installed it, everything was working. Now when I launch lightroom, it lets me import files, but if i click on any of the other tabs, it tells me my license has expired. My ac

  • My restore previous session button is gone from the home page. How do i get it back?

    Today when i started Firefox it no longer had the restore previous session button. I have not changed anything since last time i browsed and the button do not appear even if i close down Firefox with tabs/windows open. Please help