天天看點

使用 SVWebViewController 推出浏覽器控制器

svwebviewcontroller

簡單翻譯

<a href="https://github.com/samvermette/svwebviewcontroller" target="_blank">https://github.com/samvermette/svwebviewcontroller</a>

svwebviewcontroller is a simple inline browser for your ios 7 app.

svwebviewcontroller是一個簡單别緻且易用的浏覽器控制器,為ios7應用而設計.

使用 SVWebViewController 推出浏覽器控制器
使用 SVWebViewController 推出浏覽器控制器
使用 SVWebViewController 推出浏覽器控制器
使用 SVWebViewController 推出浏覽器控制器

svwebviewcontroller features:

iphone and ipad distinct uis

full landscape orientation support

back, forward, stop/refresh and share buttons

open in safari and chrome uiactivities

navbar title set to the currently visible web page

talks with <code>setnetworkactivityindicatorvisible</code>

專為 iphone 和 ipad 設計出的别緻的 ui

完美支援橫屏豎屏

全方位支援後退.前進.暫停.重新整理以及分享按鈕

類似于 safari 以及 chrome 的操作界面

能将導航欄标題設定為目前頁面的标題

支援顯示狀态欄網絡加載圖示

drag the <code>svwebviewcontroller/svwebviewcontroller</code> folder into your project.

<code>#import "svwebviewcontroller.h"</code>

将檔案夾<code>svwebviewcontroller</code>拖入到你的工程中.

引入頭檔案"<code>svwebviewcontroller.h</code>"

(see sample xcode project in <code>/demo</code>)

just like any uiviewcontroller, svwebviewcontroller can be pushed into a uinavigationcontroller stack:

就像用任何的uiviewcontroller那樣子,svwebviewcontroller是可以簡單的push出來的.

it can also be presented modally using <code>svmodalwebviewcontroller</code>:

當然,svwebviewcontroller也可以通過模态的方式推出來.

注:

親,不用自己寫代碼折騰浏覽器了,用現成的吧.

繼續閱讀