#50: Size for iPad
This commit is contained in:
parent
b001d805a2
commit
abb7b63c5e
1 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue