diff --git a/iRate/iRate.m b/iRate/iRate.m index afe409d9..cf94bb66 100644 --- a/iRate/iRate.m +++ b/iRate/iRate.m @@ -813,25 +813,12 @@ - (void)promptForRating NSString *message = self.ratedAnyVersion? self.updateMessage: self.message; #if TARGET_OS_IPHONE - - id alert; - if (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1) { - // iOS 7 - alert = [[SDCAlertView alloc] initWithTitle:self.messageTitle - message:self.message - delegate:(id)self - cancelButtonTitle:[self.cancelButtonLabel length] ? self.cancelButtonLabel: nil - otherButtonTitles:self.rateButtonLabel, nil]; - [alert setDoNotBoldCancel:@YES]; - } - else { - alert = [[UIAlertView alloc] initWithTitle:self.messageTitle - message:self.shortMessage - delegate:(id)self - cancelButtonTitle:[self.cancelButtonLabel length] ? self.cancelButtonLabel: nil - otherButtonTitles:self.rateButtonLabel, nil]; - } - + + UIAlertView *alert = [[UIAlertView alloc] initWithTitle:self.messageTitle + message:message + delegate:(id)self + cancelButtonTitle:[self.cancelButtonLabel length] ? self.cancelButtonLabel: nil + otherButtonTitles:self.rateButtonLabel, nil]; if ([self.remindButtonLabel length]) { [alert addButtonWithTitle:self.remindButtonLabel]; diff --git a/iRateHLT.podspec b/iRateHLT.podspec index a99b07fe..bee8e33a 100644 --- a/iRateHLT.podspec +++ b/iRateHLT.podspec @@ -1,15 +1,15 @@ Pod::Spec.new do |s| s.name = 'iRateHLT' - s.version = '1.10.3' + s.version = '1.10.5' s.license = 'zlib' s.summary = 'A handy class that prompts users of your iPhone or Mac App Store app to rate your application after using it for a while.' - s.homepage = 'https://github.com/tpalmer/iRate' + s.homepage = 'https://github.com/gofullstack/iRate' s.authors = 'Travis Palmer' - s.source = { :git => 'https://github.com/tpalmer/iRate.git', :tag => '1.10.3' } + s.source = { :git => 'https://github.com/gofullstack/iRate.git', :tag => '1.10.5' } s.source_files = 'iRate/iRate.{h,m}' s.resources = 'iRate/iRate.bundle' s.requires_arc = true - s.ios.deployment_target = '7.0' + s.ios.deployment_target = '6.0' s.osx.deployment_target = '10.6' s.ios.dependency 'SDCAlertViewHLT' end