iOS7のテキスト描画
参りました…。なんでこんなことになってしまっているのか。
深く追求する気力もおきませんでした;とりあえずWarningが消せて表示されるならそれでOKとします…。
(今までiOS6でコンパイル通っていたコードにWarning出ているハズです)
以下はiOS7で通るサンプル
NSString* credit1=@"TADAKAZU NAKAMICHI"; UIFont* font=[UIFont fontWithName:@"ArialRoundedMTBold" size:18]; [credit1 drawAtPoint:CGPointMake(20,0) withAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName,[UIColor blueColor],NSForegroundColorAttributeName,nil]];