Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 107

Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
07/27/15 12:46 PM (8 years ago)

Menu with Image Correction for iPhone 6 Devices

I just made a correction to the Menu with Image and uploaded it to the market. The problem affected the size of the table on iPhone 6 and iPhone 6 Plus. The third line below is the one that is changed. It should be around line 204 in the WB_screen_menuImage.m file: //generate the frame for tableview right below the image. [self.view addSubview:myTableView]; [self.myTableView setFrame:CGRectMake(0, headerImageHeight + top, headerImageWidth, deviceHeight - headerImageHeight)];//this is a correction to the height of the UITableView This problem will only manifest if you have a lot of rows in the table. Thanks!
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
07/28/15 06:22 PM (8 years ago)
Thanks Susan! I hadn't noticed any issues in my apps on my 6 Plus, but maybe I didn't have enough rows (40 max per screen I think). Great fix. :)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/29/15 01:57 AM (8 years ago)
Sooooo can't wait for the iPhone7. LOL Well done Susan.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
07/30/15 02:25 PM (8 years ago)
You know, it has been a puzzle to me why this problem suddenly manifested itself. I have done a lot of work on the menu with image since iPhone 6, and now this problem suddenly becomes apparent. Today I am working on a different custom plugin that I am sure used to work fine on iPhone 6, but now the columns do not calculate correctly and the text goes off the screen. Could the missing link be a change to how Xcode is compiling the apps? iPhone 6 used to scale correctly, and now it isn't?
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
08/19/15 11:11 AM (8 years ago)
@Susan, how would I Remove the image altogether and start the table from the top please? Many thanks, Alex
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
08/19/15 11:21 AM (8 years ago)
I haven't added that feature, because it is in the Menu Image Advanced. But it is very easy to go into the code and change the value of one of the sizes to 0 pixels. I manually change them on all my apps to fit the sizes of the images.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
08/19/15 12:14 PM (8 years ago)
I had a brief look but was unsure which part of the code, could you direct me please?! Thanks
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
08/19/15 12:36 PM (8 years ago)
Actually, forget last, all sorted :) Thanks, Alex
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.