The delegate class must have one mandatory method which is coincidentally the only one we need. 다시 한 번 이 함수를 뷰의 버튼에 연결해야 한다는 점을 잊지 마세요. This delegate method is called when the devices bluetooth changes state including when the manager is defined.