분류 전체보기(350)
-
[Info] Xcode Release 정보
Xcode 버전별 OSX 호환 정보, 지원 iOS, OSX SDK 정보 등을 한눈에 확인할 수 있다. https://xcodereleases.com/ Xcode Releases More than you ever wanted to know™ xcodereleases.com
2021.10.24 -
UIView
## cornerRadius : 테두리 둥글게 만들기 #import view.layer.cornerRadius = 5; view.layer.masksToBounds = true;
2021.10.12 -
[ERROR] validateNewTexture:89: failed assertion `BytesPerRow of a buffer-backed texture with pixelFormat(MTLPixelFormatBGRA8Unorm) must be aligned to 64 bytes, found bytesPerRow(1200)'
해결방법 Edit Scheme > Run > Diagnostics > Metal > API Validation 체크 해제 화면이 다를경우 참고 화면이 다를경우 참고. stackoverflow 에서 찾음 Metal API Validation > Disabled 설정
2021.10.01 -
escape
Android WebView 와 Java Script간 Json데이터 통신시 특수문자 오류를 해결하기 위해 사용한 함수 public String escape(String s) { char[] chars = s.ToCharArray(); StringBuilder sb = new StringBuilder (); for (int i = 0; i < chars.Length; i++){ switch (chars [i]) { case '\\': sb.Append ("\\\\"); break; case '\n': sb.Append ("\\n"); break; case '\r': sb.Append ("\\r"); break; case '\b': sb.Append ("\\b"); break; case '\f': sb.A..
2021.09.29 -
[WebView] Inject
## 뷰포트(Viewport) 추가 NSString *strJs = @"var meta = document.createElement('meta');"; strJs = [strJs stringByAppendingString:@"meta.name = 'viewport';"]; strJs = [strJs stringByAppendingString:@"meta.content = 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no';"]; strJs = [strJs stringByAppendingString:@"var head = document.getElementsByTagName('head')[0];"]; strJs = [st..
2021.09.29 -
[IB] 비율에 맞추기
## 넓이에 맞춰 높이의 비율을 동일하게 처리
2021.09.29