#50: Size for iPad

This commit is contained in:
Patrick Santana 2013-03-29 17:46:44 +01:00
parent b001d805a2
commit abb7b63c5e

View file

@ -216,8 +216,19 @@
- (NSInteger)quiltViewNumberOfColumns:(TMQuiltView *)quiltView {
if ([[UIDevice currentDevice] orientation] == UIDeviceOrientationLandscapeLeft
|| [[UIDevice currentDevice] orientation] == UIDeviceOrientationLandscapeRight) {
// is iPad
if ([DisplayUtilities isIPad]){
return 6;
}
return 3;
} else {
// is iPad
if ([DisplayUtilities isIPad]){
return 4;
}
return 2;
}
}