Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 45

Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
12/20/12 02:05 PM (13 years ago)

Tweet Sheet plugin IPAD customization

This plugin works smoothly on iPhone but needs some customizing for iPad. The pictures only fit iPhone size, just filling 1/5 of the screen the rest is black screen. Is there any hint, additional coding to fit iPad? Thanks for the feedback.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
12/20/12 02:40 PM (13 years ago)
I coded and built that before we really opened the flood gates and figured out how to use XIB's in BT. A seperate version for iphone/ipad using xib's now would be a good future upgrade. In the meantime - if you look in the code in the viewdidload method, the size of the imageview is hard coded in there. (0,0,335,325) Copy that line for reference, duplicate it and then try adjusting those values to fit and ipad size screen. Use an image that same size and it should fill the screen. maybe try (0,0,640,920) The code for the button size/position is a few lines down... Thanks for using the plug-in :)
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
12/21/12 05:40 AM (13 years ago)
Thanks for the feedback. I will play with the code a bit and see what I can achieve.
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
12/22/12 03:26 AM (13 years ago)
With the guidance of Customizing Your Nav Bar with an Image Tutorial by Jeff Evans (MGoBlue), I managed to use own images for both devices, iPhone/iPad but failed to use different background images in tweet sheet plugin. It's either iPhone size or iPad. I would appreciate if there is an update in the near future. Thanks,
 

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.