(Before beginning, there may be other ways to use KML. I am just beginner in iOS programming and this is how I work around.) XCode allows to simulate the locations using GPX file type. One of location tracker, Google Latitude, allows to download recorded locations to KML file type. To use KML file for iOS…
Tag: uilinebreakmodecharacterwrap-is-deprecated
deprecated! ‘UILineBreakModeCharacterWrap’ & ‘UITextAlignmentCenter’
When I use UILineBreakModeCharacterWrap, I get this message ‘UILineBreakModeCharacterWrap’ is deprecated use NSLineBreakByCharWrapping instead of it. //[label setLineBreakMode:UILineBreakModeCharacterWrap]; [label setLineBreakMode:NSLineBreakByCharWrapping]; If I use UITextAlignmentCenter, then I get ‘UITextAlignmentCenter’ is deprecated: first deprecated in iOS 6.0 use NSTextAlignmentCenter instead of: //[textLabel setTextAlignment:UITextAlignmentCenter]; [textLabel setTextAlignment:NSTextAlignmentCenter];