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 8119521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:49:27+00:00 2026-06-06T04:49:27+00:00

I am trying to customize a calendar program (originally written for the iPhone) I

  • 0

I am trying to customize a calendar program (originally written for the iPhone) I found (http://code.google.com/p/iphonecal/) to work on the iPad. It was written using .xib files for the controller and the UIView.

For some reason, it does not “fire” touchesEnded anywhere on the right 2/3 of the entire view. It works fine when using the iPhone simulator, but not the iPad simulator.

It was my understanding that touchesEnded monitors the entire view, but doesn’t appear to be doing so in this case.

Any ideas of what could be causing this?

UPDATE: it’s back… I reset the simulator, did a clean, re-build and the problem is back. Here is the code that doesn’t even get touched by the right-hand side of the UIView:

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//--  touchesEnded
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- (void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event  {

    int width = self.frame.size.width;

    UITouch* touch = [touches anyObject];
    CGPoint touchPoint = [touch locationInView:self];
    //UIView* theview=[self hitTest:touchPoint withEvent:event];

    if(touchPoint.x < 40 && touchPoint.y < headHeight)
        [self movePrevMonth];
    else if(touchPoint.x > width - 40 && touchPoint.y < headHeight)
        [self moveNextMonth];
    else if(touchPoint.y > headHeight)  
        [self touchAtDate:touchPoint];

}
  • 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-06T04:49:30+00:00Added an answer on June 6, 2026 at 4:49 am

    I found the problem… both of the .xib files were not set up to use the iPad… I found the answer here, which showed me how to change the source code for the .xib files… it now works like a champ!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just cloned the basic_project and trying to customize by following this - http://pinaxproject.com/docs/0.7/tabs/#ref-tabs Created
I have been trying to customize a navigation bar in an iPhone app. I
I am trying to find here http://jqueryui.com/demos/datepicker/#options how to initialize/show the datepicker according to
I am trying to customize the font of a UITableViewCell using the following code
I'm trying to customize the UIImagePickerController for iPhone right now. I could modify the
I`m trying to customize my TabBar in xcode,ios, however I just found ppl saying
I am trying to customize a two column Google custom search. I really liked
I'm trying to customize some TFS work items via the VS2008 xml editor, but
I am trying to customize a UISegmentedControl with that tutorial : http://www.framewreck.net/2010/07/custom-tintcolor-for-each-segment-of.html Do you
I am trying to customize the UITableViewCell below for an iPhone app in a

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.