Have a Button call a UITabBar Application on iOS -
i making application has uitabbar , works fine, want add first screen contains instructions , logo, button , when said button pressed show uitabbar i've tried couple of days on own no luck, i'm not sure if can done, me out? or give me lead?
try setting tab bar application, , showing first screen on modalviewcontroller. inside main app's viewcontroller:
firstviewcontroller *firstviewcontroller = [firstviewcontroller alloc] initwithnibname:@"firstview" bundle:nil]; [self presentmodalviewcontroller:firstviewcontroller animated:no]; [firstviewcontroller release]; when button pressed inside modal view, call:
[[self parentviewcontroller] dismissmodalviewcontrolleranimated:yes]; to rid of it. can adjust animation style dismissal, or use no instead have disappear.
Comments
Post a Comment