Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Example
- UIView
- LG유플러스
- push
- swift
- 스마트폰
- 아이폰7
- Bitcode
- setting
- 해몽
- Xcode
- 보라카이
- 포켓몬 GO
- 페이백
- simulator
- 신도림
- afterdelay
- 얻는법
- error
- 신도림 테크노마트
- loop
- 공략
- 포켓볼
- UITableView
- GCD
- Check
- swift3
- 샘플
- IOS
- 앱스토어
Archives
- Today
- Total
도래울
ios get the previous viewcontroller that pushed my current view 본문
objective c
NSLog(@"%@",[self.navigationController.viewControllers objectAtIndex:self.navigationController.viewControllers.count-2]);
swift
let n: Int! = self.navigationController?.viewControllers?.count
let myUIViewController = self.navigationController?.viewControllers[n-2] as! UIViewController
'개발 > iOS' 카테고리의 다른 글
ios 메모리 에러 찾기 NSZombieEnabled 추가 (0) | 2016.07.27 |
---|---|
swift string search rangeOfString (0) | 2016.07.19 |
swift Get button click inside UI table view cell (0) | 2016.07.13 |
Loop through subview to check for empty UITextField - Swift (0) | 2016.07.13 |
remove all subviews of a view in Swift (0) | 2016.07.13 |