Can't touch uibuttons while it is moving in ipad app

Hi Iam creating 10 uibuttons dynamically and animate randomly. but any of two or four buttons are overlapped.
plz tell me the solution.
i have the following code in my ipad app:
-(void)AnimateNumbers
    for(NSMutableDictionary *dict in self.buttonArray)
        UIButton *but=[dict objectForKey:@"Button"];
        CGPoint bcenter=but.center;
        int numx=[[dict objectForKey:@"Xvalue"]intValue];
        int numy=[[dict objectForKey:@"Yvalue"]intValue];
        bcenter.x+=numx;
        bcenter.y+=numy;
        //bcenter.x=bcenter.x+[dict objectForKey:@"Xvalue"];
        //bcenter.y=bcenter.y+[dict objectForKey:@"Yvalue"];
        but.center=bcenter;
        //if(uia)
         BOOL isPortrait = UIDeviceOrientationIsPortrait(self.interfaceOrientation);
        //NSLog(@"is portrait %@",isPortrait);
        //if(isPortrait)
            //NSLog(@"is portrait");
        if(isPortrait)
            if(bcenter.x>720)
                [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Xvalue"];
            if(bcenter.y>900)
                [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Yvalue"];
            if(bcenter.x<100)
                [dict setValue:[NSNumber numberWithInt:35+but.tag] forKey:@"Xvalue"];
            if(bcenter.y<222)
                [dict setValue:[NSNumber numberWithInt:35+but.tag] forKey:@"Yvalue"];
            self.correctwrongImageView.frame=CGRectMake(214,450,253,201);
        else {
            if(bcenter.x>900)
                [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Xvalue"];
            if(bcenter.y>720)
                [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Yvalue"];
            if(bcenter.x<100)
                [dict setValue:[NSNumber numberWithInt:35] forKey:@"Xvalue"];
            if(bcenter.y<222)
                [dict setValue:[NSNumber numberWithInt:35] forKey:@"Yvalue"];
            self.correctwrongImageView.frame=CGRectMake(362,351,253,201);
            //self.resultview.frame=CGRectMake(362,351,253,201);
Thanks.

Okay guys, since no one was able to help, i tried to figure it out, and i finally got it.There is this app on the app store called 'DropBox' which can be downloaded on both- your mac and iPhone/ iPad .Through this app, you can easily transfer files from imac to other apple devices and vice versa.
P.S. The files do get saved in the photo album.
Hope this helps

Similar Messages

  • Music from PC I loaded some CDs onto my PC and want to know if, and how, I can move them from my PC to my IPad2. Also, if I get them moved can u delete individual songs from those moved to IPad

    I loaded some music CDs onto my PC. Can I move them from PC to my IPad 2? If so how?  I loaded the CDs into ITunes on PC and when synced with IPad I saw them on the  IPad, but once the PC was disconnected here seems to be no music on my IPad. How or canons move music ? Other than hat u purchase? can editing be done onIPad if music is moved there? IE deleting songs from list?

    Do not look at the library on the left. You want to use the iTunes window on the right - after you select the iPad. This illustrates how to select the iPad. In this screenshot I marked it iPod but it works the same way for the iPad.
    Click on the iPad's name on the left side of the iTunes window - under devices - in order to select your iPad.
    Then click on the Music Tab in the window on the right side
    Find the songs in the music section 
    Click on the boxes next to the songs - or click on the album or playlist that the songs are in
    Make sure that the Sync Music heading is selected at the top of the tab
    Click on Apply in the lower right corner.
    You can read this as well for more help.
    http://support.apple.com/kb/HT1351
    Message was edited by: Demo

  • I can't touch any icons or swipe on my iPad! I need help

    My iPad will not let me touch any of the icons nor swipe te screen so I can't turn it off and turn it back on! What should I do

    Try giving it a reset. Hold down the sleep and home buttons for about 20 seconds. If you see the silver apple, let go of the buttons and let it reboot and see if that unfreezes it.

  • Can you suggest a Design pattern for moving a desktop app to  web?

    Hi,
    I have been asked to move a desktop applciaiton which has Serialized files as persistant layer in to Web, can anyone suggest me a good design pattern to accomplish this.

    I dont know what data is in the files, but I suggest looking at creating a set of database tables, normalize them, and copying the data to the tables (via java). Have a DBA review your database schema design if possible before copying the data. Then, use MVC design as I describe here:
    http://forums.sun.com/thread.jspa?messageID=10786901
    Once you get experience in the MVC design described above, your next project can use MVC with a framework such as Java Spring (a more advanced topic). You should read a book cover on Spring to cover on it first.

  • I'm wondering how to passcode specific apps, like email, while allowing use of other iPad apps,,, any suggestions?, I'm wondering how to passcode specific apps, like email, while allowing use of other iPad apps,,, any suggestions?

    I'd like to password protect my email while allowing other use on my iPad, for business. Any ideas?

    right now, there are none.  the device was built more or less on a one user model.  you can either passcode the whole thing, or not.  you can set restrictions on certain things.  and for email, simply do not use the email app, but rather use web mail, where you have to log on each time you want to use it.
    There are a fair number of folks with the same problem as you, but as of now, there is no easy answer.

  • HT201365 I have 2 iPads on the same account how can I see both in the find my iPhone/iPad app because I can only see 1 iPad?

    Need help!!!

    Make sure that you set up your iCloud account on both devices and that Find My iPhone is turned On.  You can also verify if your two iPads' location by signing in to www.icloud.com then Find My iPhone.

  • How can I find an erlier version of the Netflix iPad app compatible with 1st generation iPads?

    I have 2 first generation iPads.  One has an early version of the Netflix app that is compatible with the ios, the other does not have the app.  When I try to download the app to the second iPad, I get nowhere becuse the only thing offered requires an ios that is beyond that supported by my iPad.  I can't find a work around and I am not offered the option to download early versions of the app. 

    I believe the prompt will only appear if you already have the old version installed and an update is presented, though I could be mistaken. Have you looked in the Purchases area of the App Store app when signed in using the account under which you downloaded the old version to see if the old version still appears there?
    If not, do you have the old version in iTunes on your computer, or if not is it still on that other iPad. If so, you should be able to get it into iTunes and from there sync it to the second iPad.
    Regards.

  • Ipod touch can no longer tilt while playing Temple Run or Back Breaker Football

    IPOD Touch can no longer tilt while playing Temple Run or Back Breaker Football or any game where you need to control the tilt or turn.

    Managed to finally factory reset the unit (see my other post).
    Should be OK now.

  • Can't use the camera function in my ipod touch 4s while updated to iOS 6.0

    I can't use the camera function in my ipod touch 4s while updated to iOS 6.0.
    There is all black screen when I turn on my camera. 
    I open the restriction setting already.
    thank you.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.

  • Is there a "stand" for the touch so I can talk on facetime while doing something else?

    Is there a "stand" available for sale that can support an iPod Touch so that I can talk on Facetime while, for instance, fixing dinner?

    Go to bestbuy.com
    Type in "Ipod touch stand"
    Either the second or first one.
    Not sure if it's in stores or just online.
    Read reviews first though.
    Sorry, tried to give you the link, it didn't work.

  • Can the Touch Screen on iPhone be Disabled while Playing Video?

    My 16-month old son loves watching Sesame Street on my iPhone 3GS while we travel. Problem is, he keeps touching the screen and inadvertently stopping the video or exiting from the iPod application.
    Is there a way to disable the touch screen while watching video so that the only way of re-activating is by pressing the home button? Thanks.

    No, there is not. You can send feedback to Apple - http://apple.com/feedback

  • The screen on my MacBook goes black often. I can still see a faint image of what's on the screen, and can only get it to illuminate by moving it back and forth. What could the issue be? How can it be fixed?

    The screen on my MacBook goes black often. I can still see a faint image of what's on the screen, and can only get it to illuminate by moving it back and forth. What could the issue be? How can it be fixed?

    The startup disk may need repairing ...
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If the disk needs repairing, restart your Mac while holding down the Command + R keys. From there you can access the built in utilities in OS X Recovery to repair the startup disk.

  • Can't dispose InputContext while it's active

    Hi - I have seen this question asked before but no answers.
    I am moving my applet from the MS IE JVM to the 1.4 plug-in and
    now get this error when I click the Windows close "x" button. This
    same applet runs fine with the old MS JVM. The code is too large
    to post (sorry about that.)
    Can anyone tell me what can be causing this? As I say, this
    exact same source runs fine with the older IE JVM.
    Thank you,
    java.lang.IllegalStateException: Can't dispose InputContext while it's active
         at sun.awt.im.InputContext.dispose(Unknown Source)
         at java.awt.Window$1$DisposeAction.run(Unknown Source)
         at java.awt.Window.dispose(Unknown Source)
         at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.windowClosing(Unknown Source)
         at java.awt.Window.processWindowEvent(Unknown Source)
         at java.awt.Window.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    I'm having this problem, too. This is on a game at pogo.com (#1 gaming site on the web). Any ideas
    See:
    http://www.pogo.com/rooms/roomtabs.jsp?sls=3&game=jumbee&site=pogo&lkey=3ce8d6db6b6dc9170a280a0b0000283c
    Hi - I have seen this question asked before but no
    answers.
    I am moving my applet from the MS IE JVM to the 1.4
    plug-in and
    now get this error when I click the Windows close "x"
    button. This
    same applet runs fine with the old MS JVM. The code is
    too large
    to post (sorry about that.)
    Can anyone tell me what can be causing this? As I say,
    this
    exact same source runs fine with the older IE JVM.
    Thank you,
    java.lang.IllegalStateException: Can't dispose
    InputContext while it's active
         at sun.awt.im.InputContext.dispose(Unknown Source)
    at java.awt.Window$1$DisposeAction.run(Unknown
    Source)
         at java.awt.Window.dispose(Unknown Source)
    at
    sun.plugin.viewer.frame.IExplorerEmbeddedFrame.windowC
    osing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown
    Source)
         at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown
    Source)
    at java.awt.Container.dispatchEventImpl(Unknown
    Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(
    nknown Source)
    at
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Un
    nown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown
    Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • TS2734 I left my iPod at a friends house. She doesnt have internet. So its not connencted to the internet. And i had never charged it so its been dead for about a week. Can I use iCloud while its turned off and not connected? Please help me!! I need to fi

    I left my ipod touch at a friends house. She doesnt have internet. So it's not connected to the internet. And I had never charged it so it's been dead for about a week now. Can I use iCloud while it's turned off and not connected? Like, will it show a message and ring if it's not connected to the internet and turned on? Please help me ): I really need to find it!!!

    " Can I use iCloud while it's turned off and not connected? "
    No.
    "Like, will it show a message and ring if it's not connected to the internet and turned on?"
    No.
    There is nothing you can do other than look for it,

  • How to download facetime app on ipod touch 4g that is deleted mistakely while syncing, how to download facetime app on ipod touch 4g that is deleted mistakely while syncing

    how to download facetime app on ipod touch 4g that is deleted mistakely while syncing, how to download facetime app on ipod touch 4g that is deleted mistakely while syncing

    You can only sync with one computer. and y have to sync to get apps from computer to the iPod. You can sync using the manual method.
    Managing content manually on iPhone, iPad, and iPod
    You can copy iTunes purchases from iPod to iTunes by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    Try resetting the iPod:
    To reset the iPod without the hardware buttons,
    - Reset network settings: Settings>General>Reset>Reset Network Settings. All your wifi and bluetooth preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected. You will have to rejoin wifi networks and repair BT devices

Maybe you are looking for

  • Back up to dvd taking too long?

    I am trying to back up my entire library to a data dvd disc. I am following the steps outlined: file, library, burn to disc, etc...however, when I finally click burn to disc, NOTHING happens...my entire library is 2.90 GB..I am using an external DVD

  • PE9 suddenly will not work for no apparent reason

    I have been successfuly using Premier Elements 9 for the last month since I bought it. This last Thursday, while trying to find video footage online for an upcoming project, one or several bugs came into my computer and almost killed it, and since it

  • Bridge will not let me reject files using the quick key: option+delete

    Hi Guys, This is really starting to frustrate me. I'm trying to move quickly some large quantities of files however, for some reason all I get is a error tone when I attemp to reject a image with the quick key after selecting it, or in full screen pr

  • Tomcat/Cocoon/APEX PDF printing. Another issue

    Hi All, I am trying to implement my own custom report layout for the following simple Report query select e.DEPTNO, d.DNAME, d.LOC, e.ENAME, e.JOB from emp e, dept d where e.deptno = d.deptno The steps are the following 1. Create Report Query 2. Down

  • StreamCorruptedException

    Hi, I'm trying to send serialized objects over socket connection, see the code snippet below. import java.io.*; import java.net.*; public class Test2 { private ObjectOutputStream oos; private ObjectInputStream ois; private Socket s; public Test2(Stri