IOS(4)
-
FCM 이용시 백그라운드에서 푸쉬를 못받을때
상황 FCM을 이용을 하는데 이번에 Xcode8, iOS 10을 쓰면서 도무지 Background에서 Push Notification이 안오는 것이다.message로 들어오는 userInfo를 찍어보면 형식이 아예 다르다. 기존[aps: { alert = { body = ""; title = ""; }; "content-available" = 1; }, data: data, gcm.message_id: 0:BLAHBLAH] 문제data: data, collapse_key: BLAH, notification: { body = ""; e = 1; title = ""; }, from: BLAHBLAH 답답함에 새로 프로젝트를 만들었더니 그건 또 잘 된다.기존에 있는 것이 안되니 참 답답하다. 같은 상황의 답답..
2016.09.28 -
iOS, Push 받을때 어플 실행 상태
if application.applicationState == .Inactive {//todo}
2016.07.06 -
iOS, GCM에서 FCM으로 바꾸기.
Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! See the FAQ to learn more. If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future. 결국 해봤다... Firebase Console 화면을 접속한다.그리고 새 프로젝트를 생성한다..
2016.05.31 -
iOS에서 jQuery 클릭 이벤트가 작동하지 않을때
가끔 막코딩인듯 막코딩아닌 막코딩을 짜게되면iOS에서 jQuery로 작성한 클릭 이벤트가 작동이 안될수도 있다. 결론부터 말하자면 일종의 트릭인데 css를 이용해서 cursor:pointer를 주면 작동이 된다.
2015.09.16