2016년 2월 25일 목요일

iOS9 버전 url 접근 다운로드 허용 방법.

How do I load an HTTP URL with App Transport Security enabled in iOS 9? 

iOS9 버전 부터는 다이렉트로 url에 접근하면 권한 애러가 발생한다.
(unity the resource could not be loaded because the app transport security policy reqauires the use of a secure connection)
따라서 관련 이슈를 해결하기 위해서는 다음과 같은 과정을 진행해야 한다.

http://stackoverflow.com/questions/30731785/how-do-i-load-an-http-url-with-app-transport-security-enabled-in-ios-9


I have solved it with adding some key in info.plist. The steps I followed are:
  1. Opened my Projects info.plist file
  2. Added a Key called NSAppTransportSecurity as a Dictionary.
  3. Added a Subkey called NSAllowsArbitraryLoads as Boolean and set its value to YES as 

2016년 2월 24일 수요일

Vuforia CameraDevice 객체를 통한 이미지 복사

https://developer.vuforia.com/library//articles/Solution/How-To-Access-the-Camera-Image-in-Unity

의 내용을 참고하여 증강현실 카메라를 불러오려고 했으나

두가지 이슈로 다른 방법을 찾기로 함

1. In Unity 환경에서 픽셀포멧을 그레이스케일 밖에 지원안함, 테스트가 번거로움
2. QCAR 모듈을 활성화 하거나 비활성화 할 경우 정상적인 작동이 중지됨을 확인
(GetCameraImage 함수에서 계속 null을 리턴함)

이전의 화면캡쳐 형식으로 진행