iOS / Mac OS Developers
469 subscribers
2 photos
308 links
iOS / Mac OS를 다루는 개발자들을 위한 채널 입니다.
Download Telegram
안녕하세요, 운영자 입니다.
해당 채널에 포스팅 / 글을 같이 올리실 분을 찾습니다.
@yong076 으로 메세지 주세요 😍
WebKit의 WKWebView 테스트 하다 발견한 이슈입니다.
웹페이지에서
location.href = link
location.assign(link)
location.replace(link)
등으로 페이지를 이동하는 경우
WKWebView.navigationDelegate의
webView(WKWebView, decidePolicyFor: WKNavigationAction, decisionHandler: (WKNavigationActionPolicy) -> Void)
함수가 호출되는데
iOS 9, 10 과 iOS 11에서 WKNavigationAction의 값이 차이를 보입니다.
iOS 9, 10에서는 WKNavigationAction.sourceFrame이 nil이고,
iOS 11에서는 WKNavigationAction.sourceFrame이 있습니다.
혹시 WKNavigationAction의 값들을 이용하여 뭔가 처리를 하고 계시다면 주의를 하셔야겠습니다.

ㅡ최광훈 님 (Swift Korea 페이스북 그룹)
iOS와는 무관 하지만, Stack Over Flow의 개발자 관련 리포트가 나왔습니다.
전세계 개발자중 모바일 개발자가 20% 정도 라고 하네요 :)
https://insights.stackoverflow.com/survey/2018#developer-profile-years-of-professional-coding-experience-by-developer-type
Convert a PDF to App Icon images
Are you still generating all your different needed icon sizes by hand? Why? 😳 Oliver Michalak has put together this little tool to take a PDF image, generate all the right sizes and put them in all the right places. I'd like to see this support a couple of different PDF files so you can set certain icons to be generated from different PDFs for the cases where you have a different icon image for smaller sizes, but this is a good start.

https://github.com/kreait/convertappicon?utm_campaign=iOS%2BDev%2BWeekly&utm_medium=web&utm_source=iOS%2BDev%2BWeekly%2BIssue%2B347