iPhoneã®UIä½æã¨ããã°ãåºæ¬çã«ã¯Interface Builderã使ãã°åé¡ããã¾ããããã IBã ãã§ã¯å®ç¾ã§ããªããã¨ãããã®ãäºå®ã§ãããã®ä¸ã¤ãè§ä¸¸ãä½ãæ¹æ³ãä¸ã®ä¸è§ä¸¸ãã§ããçµæ§ãããããªã®ã§ãéè¦ã¯å¤ãã®ã§ããIBåä½ã§ã¯è§ä¸¸ãä½ããã¨ãåºæ¥ã¾ããã ãã IBã§ä½ã£ãUIViewãUILabelçãè§ä¸¸åãããã¨ã¯å¯è½ã§ãããã®çºã®æé ãã¾ã¨ãã¾ããã ã»ããã¸ã§ã¯ãã®ãã¬ã¼ã ã¯ã¼ã¯ã«QuartzCore.frameworkã追å ãã ã»"QuartzCore/QuartzCore.h"ãã¤ã³ãã¼ããã ã»å¯¾è±¡ã®ãªãã¸ã§ã¯ãã«ã以ä¸ã®è¨å®ããã hoge.layer.maskksToBounds = YES; hoge.layer.cornerRadius = 10; IBä¸ã§ãã®ããã«è¦ããç»åã ãã®ããã«ãªãã¾ãã ã½ã¼ã¹ã¯ãã¡ã #import "Round
{{#tags}}- {{label}}
{{/tags}}