bmp inspector ipad app code