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
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
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
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
SynarionITSolutions
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Último
(20)
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
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, ...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
俩控件
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