ã¤ã¾ããUITableViewControllerããµãã ãã«ä½¿ã£ã¦ããããUIViewControllerãç¶æ¿ãããã¼ã¹ã¯ã©ã¹ãä½ã£ã¦ããã¨ã1ã¤1ã¤ã®ãã¥ã¼ã«åãå¦çãæ¸ããªãã¨ãããªãã ããã¯çµ¶å¯¾å ¥ããã®å¿ããããªã®ã§ãªãã¨ãããããããã¨æã£ã¦èª¿ã¹ã¦ã¿ãã Objective-Cã«ã¯Method Swizzlingã¨ããããã§ã«å®è£ ããã¦ããã¯ã©ã¹ã®ã¡ã½ãããèªåã®ã¡ã½ããã«å ¥ãæ¿ããããæ¹ãç¨æããã¦ãããããã "objc/runtime.h"ãæä¾ãã¦ãããmethod_exchangeImplementationsé¢æ°ã使ãã°ã¯ã©ã¹ã¡ã½ããã®å ¥ãæ¿ããå¯è½ã«ãªãã ããã使ã£ã¦UIViewControllerã®ã¡ã½ãããå ¥ãæ¿ããã°åç»é¢ãã¨ã«ã¢ããªãã£ã¯ã¹å¦çãæ¸ããã«æ¸ã¿ããã ã¤ã¾ããUIViewControllerã®ã«ãã´ãªæ¡å¼µãä½ã£ã¦ãviewDidAppea
{{#tags}}- {{label}}
{{/tags}}