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

  • SEARCH
  • Home
  • 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 8527363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:32:13+00:00 2026-06-11T08:32:13+00:00

I am developing an iPad app that uses a swipe gesture to move between

  • 0

I am developing an iPad app that uses a swipe gesture to move between months on a calendar. The animation style is fine and the app shows the correct screen before and after my animation. However, during the animation, there are two problems:

-The original view gets distorted or blurred.
-The original month (September) is shown ‘on the next page’ instead of the next month (October) during the animation.

I had a job to catch a screenshot of this but if you look at the top left corner on the shot from the animation you can see the problem. It looks like all the text has become bold. Here are the images, followed by the code.

Before the animation:

Before the animation http://i1219.photobucket.com/albums/dd427/Dave_Chambers/1-2.png

During the animation:

During the animation

If you look at the ‘K-SUPER…’ top left, you can see that the text is thicker, due to the distortion caused by the animation.

After the animation:

After the animation

Anybody know how I can solve this so I see September before, October underneath DURING the animation and October afterwards?

The code:

    - (void)swipedInLeftDirection:(UISwipeGestureRecognizer *)sender {
NSLog(@"UserActions: %s", __PRETTY_FUNCTION__);

[MonthlyEventView animateWithDuration:1.0
                 animations:^{
                         [MonthlyEventView setAnimationTransition: UIViewAnimationTransitionCurlUp forView:self cache:NO];
                 }
                 completion:^(BOOL finished) {

                     NSDateComponents* plusOneMonth = [[NSDateComponents alloc] init];
                     [plusOneMonth setMonth:1];
                     NSDate* oneMonthForward = [[NSCalendar currentCalendar] dateByAddingComponents:plusOneMonth toDate:self.selectedDate options:0];
                     [self.delegate monthlyView:self userDidPerformSwipeInDirection:UISwipeGestureRecognizerDirectionLeft andExpectingDateToBeSelected:oneMonthForward];

                 }];

}

For what it’s worth, the view size is 704 x 569. Perhaps this matters, I don’t know.

Thanks in advance for any solution.

  • 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-06-11T08:32:14+00:00Added an answer on June 11, 2026 at 8:32 am

    Your text distortion is due to drawing to labels at almost exactly the same location, the almost due to the animation, creating sort of a bold effect. The easiest solution would be to simply have your calendar view be opaque. i.e. set a background color of [UIColor lightGrayColor] for the whole view. This would also make it so the back of the curled page would appear solid gray, as one would expect of gray paper.

    Also about why the old month appeared underneath the animation. The mechanism of the UIView transitions is to essentially capture the current appearance of the view, then render what it should look like after the animation, and then animate that original capture off screen. The completion block is called after all of this has happened. So essentially you animate from the state you are in to the state you are in and then set the calendar to a new date. So as odd as it may sound setting the calendar’s date is part of the animation.

    Also there is a more direct block based API for this.

    [UIView transitionWithView:self // since this code is in the view's implementation.
                      duration:0.8
                       options:UIViewAnimationOptionTransitionCurlUp
                    animations:^{
                        NSDateComponents* plusOneMonth = [[NSDateComponents alloc] init];
                        [plusOneMonth setMonth:1];
                        NSDate* oneMonthForward = [[NSCalendar currentCalendar] dateByAddingComponents:plusOneMonth toDate:self.selectedDate options:0];
                        [self.delegate monthlyView:self userDidPerformSwipeInDirection:UISwipeGestureRecognizerDirectionLeft andExpectingDateToBeSelected:oneMonthForward];
                    }
                    completion:^(BOOL b){
                        // If you need notification when the animation completes put a callback here.
                    }];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an iPhone/iPad app that supports dragging items between table views. Since all
I am developing an iPad app that has a large number of UIViewControllers ,
I am developing an iPad app which uses webKit to process video content. Some
this is my first ever question. I am developing a iPad app that allows
I have a PhoneGap application I am developing for iPad that uses video extensively,
I am developing an app for iphone/ipad that I have some problems with. I
I am developing a iphone/ipad app. Problem is that when i change the orientation
I'm developing an iPad app that needs read-only access to an Oracle database. Is
I'm developing an iPad app that will be distributed in-house using the Enterprise Program
I'm developing a full-screen web app for an iPad that will have a series

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.