ios - access view inside a storyboard -


how 1 access, in code, view dragged object browser view in storyboard?

for example, created uiview assigned viewcontroller class. dragged map view view. need start manipulating map view in code. how access it? i've tried things self.view.subview haven't gotten anywhere there.

thanks.

you should use outlets, first select storyboard file, go

view->assistant editor->show assistant editor 

enter image description here

next select map view, press control on keyboard , drag right section of xcode show .h file, following appear

enter image description here

write mapview inside , hit enter, create outlet use can use mapview access mkmapview


Comments

  1. The Hollywood Casino at Kansas Speedway - JTHub
    The Hollywood Casino 의왕 출장샵 at 양주 출장마사지 Kansas Speedway has been in operation since 1994. 출장안마 It is 동두천 출장안마 a hotel in downtown Kansas Speedway, Missouri 경기도 출장안마 and offers over 3,000 slot games and

    ReplyDelete

Post a Comment

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -