Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7511489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:33:40+00:00 2026-05-29T23:33:40+00:00

Possible Duplicate: How can I replicate the trashing animation of Mail.app I would use

  • 0

Possible Duplicate:
How can I replicate the trashing animation of Mail.app

I would use the trash effect like in the image app on the iPhone. I want to trash a UIView.

Does someone know how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:33:42+00:00Added an answer on May 29, 2026 at 11:33 pm

    Take a look at this answer: https://stackoverflow.com/a/5814846/656036

    [UIView beginAnimations:@"suck" context:NULL];
    [UIView setAnimationTransition:103 forView:webView cache:NO];
    [UIView setAnimationDuration:1.5f];
    [UIView setAnimationPosition:CGPointMake(300, 1)];
    [UIView commitAnimations];
    

    Note that this makes use of a private API and will get your App rejected by Apple. For other Animation-Transitions see http://iphonedevwiki.net/index.php/UIViewAnimationState

    EDIT: iphonedevwiki.net seems to be down. However, I found something that could help you reproduce that effect and not get you rejected: (not tested) http://www.aderstedtsoftware.com/users/erik/weblog/c7cb9/

    The different AnimationStates are the following (Taken from the linked SO answer):

    // Efects for Animation.
    // 0 (UIViewAnimationTransitionNone)                                 Yes    
    // 1 (UIViewAnimationTransitionFlipFromLeft)     oglFlip, fromLeft   Yes    
    // 2 (UIViewAnimationTransitionFlipFromRight)    oglFlip, fromRight  Yes    
    // 3 (UIViewAnimationTransitionCurlUp)           pageCurl            Yes    
    // 4 (UIViewAnimationTransitionCurlDown)         pageUnCurl          Yes    
    // 101   pageCurl                                                    Yes
    // 102   pageUnCurl                                                  Yes
    // 103   suckEffect                                                  Yes
    // 104   spewEffect                                                  No 
    // 105   cameraIris                                                  Yes
    // 106   cameraIrisHollowClose                                       Yes
    // 107   cameraIrisHollowOpen                                        Yes
    // 108   genieEffect                                                 No 
    // 109   unGenieEffect                                               No 
    // 110   rippleEffect                                                Yes    
    // 111   twist                                                       No 
    // 112   tubey                                                       No 
    // 113   swirl                                                       No 
    // 114   charminUltra                                                No 
    // 115   zoomyIn                                                     No 
    // 116   zoomyOut                                                    No 
    // 117   oglApplicationSuspend                                       No
    //---------------------------------------------------------------------
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Can I use a SetTimer() API in a console c++ app I
Possible Duplicate: Can we use any other TAG inside <ul> along with <li>? Or
Possible Duplicate: Can anybody suggest the best image resize script in php? I'm still
Possible Duplicate: Can I use ASP.NET MVC together with regular ASP.NET Web forms Let's
Possible Duplicate: Can I embed a custom font in an iPhone application? Hi I
Possible Duplicate: Can we solve the table row background image problem, in chrome, in
Possible Duplicate: Can I use operators as function callback in PHP? Is it possible
Possible Duplicate: Can we post image on twitter using twitter API in Android? I
Possible Duplicate: Can I use a binary literal in C or C++? I am
Possible Duplicate: Can we run Java applictions on iPhone? Does IPhone4 supports Java? Can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.