Changes

Jump to: navigation, search

An iPad iOS 7 Split View and Popover Example

12 bytes added, 20:42, 1 February 2016
m
Text replacement - "<google>BUY_IOS7</google>" to "<htmlet>ios9_upgrade</htmlet>"
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
}
</pre>
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>
There are a number of methods that must be implemented in order for the items to appear within the table view object. Fortunately, Xcode has already placed template methods for us to use in the SplitViewMasterViewController.m file. First, modify the numberOfRowsInSection method to notify the table view of the number of items to be displayed (in this case, a value equal to the number of items in our siteNames array). Since there is only one section in the table also modify the numberOfSectionsInTableView method accordingly. Note that Xcode has, once again, added some code for the template example so be sure to remove this code where necessary:
<googlehtmlet>BUY_IOS7ios9_upgrade</googlehtmlet>

Navigation menu