Objective-C㧠UIImageã«ç»åãèªã¿è¾¼ã¿ãUIImageViewãéããã«ç»é¢ã«ç´æ¥æç»ãããµã³ãã«ã以ä¸ã«ä½æãã¾ããã ãµã³ãã«ã§ã¯ãDrawImageã¨ããã«ã¹ã¿ã ã¯ã©ã¹ã使ç¨ãç»åãæç»ãã¦ãã¾ãã ä¸è¨ãããµã³ãã«ã®ãã¦ã³ãã¼ããè¡ãã¾ãã ãã¦ã³ãã¼ã https://github.com/masakihirokawa/objc-ui-image-draw-in-rect ã½ã¼ã¹ã³ã¼ã ViewController.h #import <UIKit/UIKit.h> @interface DrawImage : UIView { @private UIImage *image_; } - (id)initWithImage:(UIImage *)image; @end @interface ViewController : UIViewController @e
{{#tags}}- {{label}}
{{/tags}}