ios - Device orientation start all view controller in tab bar app -
i have app tab bar controller 4 tab bar item , every tab bar item display view controller , viewdidload start query parse method . first ios8 beta when device ( or simulator ) alter orientation app launch view controller viewdidload method , consequently start query parse method in view controller ! how can stop !
where missing?
thanks much!
p.s. : excuse terrible english language ;-)
this seems behavior going forward. you'll need alter code handle it. you'll have move view appear perchance bool/date track when lastly loaded data.
you'd need refactor this:
create bool property vc loadeddata take loading codeviewdidload
, move viewwillappear:
wrapped in check if (!self.loadeddata) { }
ios objective-c iphone xcode ios8
No comments:
Post a Comment