Enviar búsqueda
Cargar
俩控件
•
Descargar como KEY, PDF
•
0 recomendaciones
•
889 vistas
B
bang590
Seguir
自定义webview控件和navigationController控件介绍
Leer menos
Leer más
Tecnología
Arte y fotografía
Denunciar
Compartir
Denunciar
Compartir
1 de 20
Descargar ahora
Recomendados
Web view
Web view
Sourabh Sahu
第一次用 Vue.js 就愛上 [改]
第一次用 Vue.js 就愛上 [改]
Kuro Hsu
Desenvolvimento iOS - Aula 4
Desenvolvimento iOS - Aula 4
Saulo Arruda
WordPress as the Backbone(.js)
WordPress as the Backbone(.js)
Beau Lebens
Vue, vue router, vuex
Vue, vue router, vuex
Samundra khatri
Famo.us - New generation of HTML5 Web Application Framework
Famo.us - New generation of HTML5 Web Application Framework
Hina Chen
Vue 淺談前端建置工具
Vue 淺談前端建置工具
andyyou
AngularJS Deep Dives (NYC GDG Apr 2013)
AngularJS Deep Dives (NYC GDG Apr 2013)
Nitya Narasimhan
Recomendados
Web view
Web view
Sourabh Sahu
第一次用 Vue.js 就愛上 [改]
第一次用 Vue.js 就愛上 [改]
Kuro Hsu
Desenvolvimento iOS - Aula 4
Desenvolvimento iOS - Aula 4
Saulo Arruda
WordPress as the Backbone(.js)
WordPress as the Backbone(.js)
Beau Lebens
Vue, vue router, vuex
Vue, vue router, vuex
Samundra khatri
Famo.us - New generation of HTML5 Web Application Framework
Famo.us - New generation of HTML5 Web Application Framework
Hina Chen
Vue 淺談前端建置工具
Vue 淺談前端建置工具
andyyou
AngularJS Deep Dives (NYC GDG Apr 2013)
AngularJS Deep Dives (NYC GDG Apr 2013)
Nitya Narasimhan
Double Vision21
Double Vision21
guestd7e41f3
36 Holes
36 Holes
guestd7e41f3
ORU Outreach Support Brochure
ORU Outreach Support Brochure
Susan Vincent
无线代码库开发分享
无线代码库开发分享
bang590
Interviewing Skills
Interviewing Skills
Emily Roh
Block introduce
Block introduce
bang590
Minidemo iScreen
Minidemo iScreen
Lwillems
ORU Outreach Support Brochure
ORU Outreach Support Brochure
Susan Vincent
колчак седьмой континент
колчак седьмой континент
guestb9d4a8
Analytics Rksm.Ru 20091009 20091108 (Dashboard Report)
Analytics Rksm.Ru 20091009 20091108 (Dashboard Report)
danila00
block introduce
block introduce
bang590
Prevention of Heart attack, Stroke, Myocardial infarction.Our method
Prevention of Heart attack, Stroke, Myocardial infarction.Our method
Cardiovascularprevention
Los Simpsons
Los Simpsons
alba
колчак седьмой континент
колчак седьмой континент
guestb9d4a8
Joel Landis Net Portfolio
Joel Landis Net Portfolio
jlshare
Web 2.0 tools ppt 2
Web 2.0 tools ppt 2
EMask
36 Holes
36 Holes
guestd7e41f3
I os 11
I os 11
信嘉 陳
Formacion en movilidad: Conceptos de desarrollo en iOS (III)
Formacion en movilidad: Conceptos de desarrollo en iOS (III)
Mobivery
004
004
Stronger Shen
Creating Container View Controllers
Creating Container View Controllers
Bob McCune
iOS: View Controllers
iOS: View Controllers
Jussi Pohjolainen
Más contenido relacionado
Destacado
Double Vision21
Double Vision21
guestd7e41f3
36 Holes
36 Holes
guestd7e41f3
ORU Outreach Support Brochure
ORU Outreach Support Brochure
Susan Vincent
无线代码库开发分享
无线代码库开发分享
bang590
Interviewing Skills
Interviewing Skills
Emily Roh
Block introduce
Block introduce
bang590
Minidemo iScreen
Minidemo iScreen
Lwillems
ORU Outreach Support Brochure
ORU Outreach Support Brochure
Susan Vincent
колчак седьмой континент
колчак седьмой континент
guestb9d4a8
Analytics Rksm.Ru 20091009 20091108 (Dashboard Report)
Analytics Rksm.Ru 20091009 20091108 (Dashboard Report)
danila00
block introduce
block introduce
bang590
Prevention of Heart attack, Stroke, Myocardial infarction.Our method
Prevention of Heart attack, Stroke, Myocardial infarction.Our method
Cardiovascularprevention
Los Simpsons
Los Simpsons
alba
колчак седьмой континент
колчак седьмой континент
guestb9d4a8
Joel Landis Net Portfolio
Joel Landis Net Portfolio
jlshare
Web 2.0 tools ppt 2
Web 2.0 tools ppt 2
EMask
36 Holes
36 Holes
guestd7e41f3
Destacado
(17)
Double Vision21
Double Vision21
36 Holes
36 Holes
ORU Outreach Support Brochure
ORU Outreach Support Brochure
无线代码库开发分享
无线代码库开发分享
Interviewing Skills
Interviewing Skills
Block introduce
Block introduce
Minidemo iScreen
Minidemo iScreen
ORU Outreach Support Brochure
ORU Outreach Support Brochure
колчак седьмой континент
колчак седьмой континент
Analytics Rksm.Ru 20091009 20091108 (Dashboard Report)
Analytics Rksm.Ru 20091009 20091108 (Dashboard Report)
block introduce
block introduce
Prevention of Heart attack, Stroke, Myocardial infarction.Our method
Prevention of Heart attack, Stroke, Myocardial infarction.Our method
Los Simpsons
Los Simpsons
колчак седьмой континент
колчак седьмой континент
Joel Landis Net Portfolio
Joel Landis Net Portfolio
Web 2.0 tools ppt 2
Web 2.0 tools ppt 2
36 Holes
36 Holes
Similar a 俩控件
I os 11
I os 11
信嘉 陳
Formacion en movilidad: Conceptos de desarrollo en iOS (III)
Formacion en movilidad: Conceptos de desarrollo en iOS (III)
Mobivery
004
004
Stronger Shen
Creating Container View Controllers
Creating Container View Controllers
Bob McCune
iOS: View Controllers
iOS: View Controllers
Jussi Pohjolainen
Leaving Interface Builder Behind
Leaving Interface Builder Behind
John Wilker
I os 03
I os 03
信嘉 陳
IOS APPs Revision
IOS APPs Revision
Muhammad Amin
아이폰강의(5) pdf
아이폰강의(5) pdf
sunwooindia
iOS
iOS
Scott Leberknight
SEE 2009: Improving Mobile Web Developer Experience
SEE 2009: Improving Mobile Web Developer Experience
Tasneem Sayeed
3D Touch: Preparando sua app para o futuro do iOS
3D Touch: Preparando sua app para o futuro do iOS
Rodrigo Borges
Conceitos e prática no desenvolvimento iOS - Mobile Conf 2014
Conceitos e prática no desenvolvimento iOS - Mobile Conf 2014
Fábio Pimentel
What's new in iOS9
What's new in iOS9
CocoaHeads France
MVVM with SwiftUI and Combine
MVVM with SwiftUI and Combine
Tai Lun Tseng
CocoaHeads Rennes #4 : la rotation sur iOS
CocoaHeads Rennes #4 : la rotation sur iOS
CocoaHeadsRNS
The WebView Role in Hybrid Applications
The WebView Role in Hybrid Applications
Haim Michael
December 2014 University iOS Meetup Talk
December 2014 University iOS Meetup Talk
jcgohlke
From mvc to viper
From mvc to viper
Krzysztof Profic
201104 iphone navigation-based apps
201104 iphone navigation-based apps
Javier Gonzalez-Sanchez
Similar a 俩控件
(20)
I os 11
I os 11
Formacion en movilidad: Conceptos de desarrollo en iOS (III)
Formacion en movilidad: Conceptos de desarrollo en iOS (III)
004
004
Creating Container View Controllers
Creating Container View Controllers
iOS: View Controllers
iOS: View Controllers
Leaving Interface Builder Behind
Leaving Interface Builder Behind
I os 03
I os 03
IOS APPs Revision
IOS APPs Revision
아이폰강의(5) pdf
아이폰강의(5) pdf
iOS
iOS
SEE 2009: Improving Mobile Web Developer Experience
SEE 2009: Improving Mobile Web Developer Experience
3D Touch: Preparando sua app para o futuro do iOS
3D Touch: Preparando sua app para o futuro do iOS
Conceitos e prática no desenvolvimento iOS - Mobile Conf 2014
Conceitos e prática no desenvolvimento iOS - Mobile Conf 2014
What's new in iOS9
What's new in iOS9
MVVM with SwiftUI and Combine
MVVM with SwiftUI and Combine
CocoaHeads Rennes #4 : la rotation sur iOS
CocoaHeads Rennes #4 : la rotation sur iOS
The WebView Role in Hybrid Applications
The WebView Role in Hybrid Applications
December 2014 University iOS Meetup Talk
December 2014 University iOS Meetup Talk
From mvc to viper
From mvc to viper
201104 iphone navigation-based apps
201104 iphone navigation-based apps
Último
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
The Digital Insurer
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
lior mazor
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Khem
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
The Digital Insurer
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Zilliz
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
Zilliz
Último
(20)
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
俩控件
1.
俩控件 QMWebView QMNavigationController
bangchen
2.
QMWebView
3.
UIWebView UIWebViewScrollView
UIImageView * x UIWebBrowserView
4.
contentInset.top scrollView.contentSize
webView.frame contentInset.right contentInset.left contentInset.bottom
5.
接口 @property (nonatomic, retain)
UIView *footerView; @property (nonatomic, retain) UIView *headerView; - (void) headerViewHeightChange:(int)height animated:(BOOL)animated; - (void) footerViewHeightChange:(int)height; - (void) refresh;
6.
内部工作
7.
给webview设header/footer时计算contentInset
8.
header, footer高度改变的位置调整/动画
9.
webview
动/缩放时header/footer的位置
10.
contentSize改变时footer的位置
11.
困难
12.
iOS4 webview加载完成,自动跳到contentOffsetY=0
loading finish
13.
解决:加标志 - (void)loadRequest:(NSURLRequest *)request { !
_startLoad = YES; } - (void)scrollViewDidScroll:(UIScrollView *)scrollView { if (_startLoad && scrollView.contentOffset.y == 0) { _startLoad = NO; scrollView.contentOffset = CGPointMake(0, -scrollView.contentInset.top); return ; } }
14.
上一个内容的残影 [webview stringByEvaluatingJavaScriptFromString:
@"document.open();document.close()"]; or new webview
15.
莫名黑色块 opaque
= NO;
16.
QMNavigationController
17.
问题:自定义navigationItem.leftBarButtonItem无动画
18.
已有信息 - (UIViewController *)popViewControllerAnimated:(BOOL)animated -
(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated @property(nonatomic,copy) NSArray *viewControllers; // The current view controller stack.
19.
在push与pop 个方法执行前加入动画逻辑 if (animated)
{ ! ! UIViewController *popController = [self.viewControllers lastObject]; ! ! UIViewController *pushController = [self.viewControllers objectAtIndex:self.viewControllers.count - 2]; ! ! [popController viewDisappearFromLeft]; ! ! [pushController viewAppearFromLeft]; ! } ! return [super popViewControllerAnimated:animated];
20.
END
Notas del editor
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Descargar ahora