the split view controller has 2 column layout master column on left , detail on right. want able set width of columns.
came across solution in stack overflow. works not respond numbers on 410 means can't make split 50/50. ideas why limiting me , how around it?
edit: ipad project not iphone
from stack overflow
code:
in ios 8.0 can doing following: in mastersplitviewcontroller.h add @property(nonatomic, assign) cgfloat maximumprimarycolumnwidth ns_available_ios(8_0); in mastersplitviewcontroller.m viewdidload method add self.maximumprimarycolumnwidth = 100; self.splitviewcontroller.maximumprimarycolumnwidth = self.maximumprimarycolumnwidth; good, simple , easy feature of ios 8.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment