jondanao / TheSidebarController

A container view controller that implements different popular sidebar view controllers like Facebook, Airbnb, Flipboard, etc.
Other
360 stars 52 forks source link

iPhone 6 and iPhone 6 Plus issue #14

Closed MattiaConfalonieri closed 4 years ago

MattiaConfalonieri commented 10 years ago

static const CGFloat kVisibleWidth = 260.0f;

work properly just for a 320px screen, with iPhone 6 and 6 plus need to define a better constant.

for example:

_visibleWidth = [[UIScreen mainScreen] bounds].size.width/2;

to show half screen.

Hope this help.

jondanao commented 9 years ago

@MattiaConfalonieri if you could send a pull request, I'd be happy to merge it.

MattiaConfalonieri commented 9 years ago

I am sorry jondanao but i am very new on gitHub, git in general and develop, i don't know how to make a pull request... sorry

jondanao commented 9 years ago

ahhh... ok will fix this soon.

MattiaConfalonieri commented 9 years ago

i am tryng to make a new branch with fix and send a pull request but i don't have the permission to do that