iOS/iOS memo(27)
-
[iOS] tabbarcontroller에서 tab의 갯수를 추가하고 싶을때
1. storyboard창에서 commend + shift + L viewcontroller입력후 드래그 2. tabbarcontroller에서 마우스 우측버튼 클릭후, 생성해둔 viewcontroller에 드래그 3. 그럼 쟈쟈쟌 연결 완료! 자세히 보면 두개였던 탭이 세개로, 하나 더 생긴것을 볼 수 있다. 참고 블로그 www.zehye.kr/ios/2020/04/09/12iOS_tapbar/ 탭바(tap bar)란 무엇인가? · 지혜의 개발공부로그 탭바(tap bar)란 무엇인가? 09 Apr 2020 | iOS 개인공부 후 자료를 남기기 위한 목적임으로 내용 상에 오류가 있을 수 있습니다. 탭바란? 사용자가 탭바의 항목(Item)을 선택하면 해당 항목에 연결된 뷰 www.zehye.kr mooni..
2021.05.04 -
[iOS] 구글 로그인 버튼을 누른 후, 다른 화면으로 전환될 때 화면에 꽉찬 형태로 보여지게 하기
1. 탭바를 꽉찬형태로 보여주고 싶은데 이런식으로 구현되는게 답답했다. 2. 이렇게 구현했을때 문제점은.. 아래로 드래그 했을때 로그인 화면으로 다시 넘어간다는게 문제다. 2. segue를 이용해야하나? 아니면 네이게이션..? 검색을 열심히 했지만 제일 간단한 방법이 있었다. TabBarViewController.modalPresentationStyle = .fullScreen 바로 이 코드를 추가해줄것. 위의 코드를 포함한 내 코드는 아래와 같다. let storyboard = UIStoryboard(name: "Main", bundle: nil) let TabBarViewController = storyboard.instantiateViewController(withIdentifier: "TabBar..
2021.05.04 -
[iOS] 구글 로그인 후 첫화면이 아닌 다른 화면으로 이동하기(탭바 컨트롤러)
stackoverflow.com/questions/55215761/swift-go-to-other-view-controller-after-google-sign-in Swift: Go to other view controller after Google Sign In After users successfully signing in, I want the screen to show the tab controller view automatically. Now I finished the integrating Google Sign In part. But after signing in, the view return to the stackoverflow.com
2021.05.03