Extracting nibs/xibs from storyboards (iOS)

前端 未结 5 2097
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-30 01:38

I have created a simple project with a storyboard, and now realize that they don\'t support iOS 4.x and that I would like users with these devices to be able to download my

5条回答
  •  天命终不由人
    2020-12-30 02:19

    It's not possible to get xib files. Your storyboard is compiled to nib files and packaged into a storyboardc file within your app bundle.

    To locate the nib files select your built executable in Finder and right-click 'Show package contents'. Navigate to the en.lproj directory and find the storyboard.storyboardc file. Right-click 'Show package contents' again on the storyboard file and you will find your nibs. They will not be much use to you though because they are compiled binary nibs.

提交回复
热议问题