-2

I have an iPhone App which is around two years old. Now i tried making this App compatible with iPhone 5 but its creating one issue. I am not able to detect touches or tap on the extra lower portion added for iphone 5. I am not creating views programmatically. I am using the interface builder only. Can anyone help me to solve this issue?

  • We are going to need more detail than that. – borrrden Jun 26 '13 at 08:32
  • Ok . Please explain what detail you need ? – Roxstar Upgraded Jun 26 '13 at 08:34
  • possible duplicate of [How to develop or migrate apps for iPhone 5 screen resolution?](http://stackoverflow.com/questions/12395200/how-to-develop-or-migrate-apps-for-iphone-5-screen-resolution) – Venk Jun 26 '13 at 08:38
  • @borrrden - I just added this line in applicationDidFinishLaunching: method, it should solve your problem: window.frame = [[UIScreen mainScreen] bounds]; Its working fine now .... Thanks anyways .. :) – Roxstar Upgraded Jun 26 '13 at 08:38

1 Answers1

0

Try adding this line of code in your applicationDidFinishLanuching: method:

self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];    
self.window.rootViewController = viewController;
[self.window makeKeyAndVisible];