Categories
-
Recent Posts
Recent Comments
- admin on How to fix – There was an internal API error
- Jose on How to fix – There was an internal API error
- admin on 簡單學日語 2.0 上架了
- 中國青年救國團 on 簡單學日語 2.0 上架了
- admin on iOS Watchkit Development – paired device unavailable for development
Categories
-
Recent Posts
Recent Comments
- admin on How to fix – There was an internal API error
- Jose on How to fix – There was an internal API error
- admin on 簡單學日語 2.0 上架了
- 中國青年救國團 on 簡單學日語 2.0 上架了
- admin on iOS Watchkit Development – paired device unavailable for development
Daily Archives: 2017/05/25
iOS – Click view to dismiss the keyboard
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self.view action:@selector(endEditing:)]; tap.cancelsTouchesInView = FALSE; tap.delegate = self; [self.view addGestureRecognizer:tap];
Posted in iOS development
Leave a comment