Probable fix for (null) string displayed in address field sometimes at cold app boot.

This commit is contained in:
Guillaume BIENKOWSKI 2014-01-28 15:18:13 +01:00
parent 2bfd507702
commit db11e9de8d

View file

@ -154,6 +154,8 @@ static UICompositeViewDescription *compositeDescription = nil;
}
}
[addressField setText:@""];
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_6_0 // attributed string only available since iOS6
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
// fix placeholder bar color in iOS7