Skip to content

Commit

Permalink
Merge pull request #7792 from AngelkPetkov/TIMOB-20495
Browse files Browse the repository at this point in the history
[TIMOB-20495] iOS: Build error caused by missing define statements
  • Loading branch information
cheekiatng committed Mar 2, 2016
2 parents 071c19c + bf1443d commit ad065a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iphone/Classes/TiUILabel.m
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,11 @@ -(BOOL)checkLinkAttributeForString:(NSMutableAttributedString*)theString atPoint
return NO;
}
NSRange theRange = NSMakeRange(0, 0);
NSString *url = nil;
#if defined (USE_TI_UIATTRIBUTEDSTRING) || defined(USE_TI_UIIOSATTRIBUTEDSTRING)
TiUIAttributedStringProxy *tempString = [[self proxy] valueForKey:@"attributedString"];
NSString *url = [tempString getLink:idx];
url = [tempString getLink:idx];
#endif
if(url != nil && url.length) {
NSDictionary *eventDict = [NSDictionary dictionaryWithObjectsAndKeys:
url, @"url",
Expand Down

0 comments on commit ad065a7

Please sign in to comment.