diff options
-rw-r--r-- | Juick.xcodeproj/project.pbxproj | 4 | ||||
-rw-r--r-- | Juick/Juick-Info.plist | 12 | ||||
-rw-r--r-- | Juick/MessagesViewController.m | 6 |
3 files changed, 14 insertions, 8 deletions
diff --git a/Juick.xcodeproj/project.pbxproj b/Juick.xcodeproj/project.pbxproj index 58a5eaf..e1e4b3a 100644 --- a/Juick.xcodeproj/project.pbxproj +++ b/Juick.xcodeproj/project.pbxproj @@ -499,7 +499,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Juick/Juick-Prefix.pch"; INFOPLIST_FILE = "Juick/Juick-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; PRODUCT_NAME = "$(TARGET_NAME)"; TARGETED_DEVICE_FAMILY = "1,2"; WRAPPER_EXTENSION = app; @@ -520,7 +520,7 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "Juick/Juick-Prefix.pch"; INFOPLIST_FILE = "Juick/Juick-Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 6.1; PRODUCT_NAME = "$(TARGET_NAME)"; TARGETED_DEVICE_FAMILY = "1,2"; WRAPPER_EXTENSION = app; diff --git a/Juick/Juick-Info.plist b/Juick/Juick-Info.plist index e6c1615..3776ab8 100644 --- a/Juick/Juick-Info.plist +++ b/Juick/Juick-Info.plist @@ -2,14 +2,10 @@ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> - <key>UIPrerenderedIcon</key> - <true/> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleDisplayName</key> <string>${PRODUCT_NAME}</string> - <key>LSApplicationCategoryType</key> - <string>public.app-category.social-networking</string> <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> <key>CFBundleIdentifier</key> @@ -21,13 +17,17 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>1.0</string> + <string>1.0.1</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>1.0</string> + <string>1.0.1</string> + <key>LSApplicationCategoryType</key> + <string>public.app-category.social-networking</string> <key>LSRequiresIPhoneOS</key> <true/> + <key>UIPrerenderedIcon</key> + <true/> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> diff --git a/Juick/MessagesViewController.m b/Juick/MessagesViewController.m index 92d4183..4361148 100644 --- a/Juick/MessagesViewController.m +++ b/Juick/MessagesViewController.m @@ -147,6 +147,12 @@ static NSString *CellIdentifier = @"MessageCell"; Message *msg = [_messages objectAtIndex:indexPath.row]; [cell bind:msg]; [cell setNeedsUpdateConstraints]; + [cell updateConstraintsIfNeeded]; + [cell.contentView setNeedsLayout]; + [cell.contentView layoutIfNeeded]; + + cell.bodyLabel.preferredMaxLayoutWidth = CGRectGetWidth(cell.bodyLabel.frame); + [cell.contentView layoutIfNeeded]; return cell; } |