objective c - Iphone uiwebview and uitableview together possible? -
objective c - Iphone uiwebview and uitableview together possible? -
i have uitableview long , scrollable, utilize uinavigationcontroller. @ bottom of page in footer plan set next button help go next page.
the problem "sometimes" page may need show messages in html, must utilize uiwebview preferebaly @ bottom of page above footer, shouldnt effected scrolling.
-can utilize uitableview , uiwebview on same page? page in command of uitableview controller, how command or set delegates of uiwebview?
-can create uiwebview invisible , not allocate space when there no messages shown?
yes, it's possible.
i believe stocks app iphone utilizes multiple views own controllers. think improve solution have uipagecontrol
, create uitableviewcontroller
when uipagecontrol
's value changed.
if still want create uinavigationcontroller
, set rootviewcontroller
uitableviewcontroller
, set toolbarhidden
property no
, toolbar
has behavior want, stays fixed on bottom of screen, if that's meant. add together navigational buttons.
as uiwebview's
, dynamically create 1 time error , set hidden
property yes
. wouldn't want destroying , recreating uiwebview
s every time error can expensive. create 1 time , hide it.
iphone objective-c iphone-sdk-3.0
Comments
Post a Comment