ios - Copying single iPhone view controller to iPad view controller gives lock icon/ doesn't work -
i had iphone app converted universal. followed excellence advice in question copy on storyboard.
converting storyboard iphone ipad
now, created new custom uiviewcontroller new feature app. did in iphone storyboard. result, want copy uiviewcontroller ipad storyboard. can follow above steps again, seems overkill. want copy , paste iphone storyboard ipad storyboard. when this, see large lock icon , nothing happens. assume have setting messed can't figure out (localization locking set nothing).
@koregan's advice has worked me.
1) duplicate iphone-storyboard , rename mainstoryboard_ipad.storyboard
2) open file text editor.
3) search targetruntime="ios.cocoatouch"and change targetruntime="ios.cocoatouch.ipad"
4) save , reopen xcode -> ipad-storyboard contains same iphone-file everyting disarranged
Comments
Post a Comment