- (UIViewController *) pageAtIndex: (NSUInteger) index
{
PageViewController * pageTemplate = [[PageViewController alloc] init];
[[PageTemplate view] setFrame: pageFrame];
[PageTemplate setParentController: self];
pageTemplate.pageNumLabel.text = [NSString stringWithFormat: @ "% d", index +1];
if (index == 0)
pageTemplate.textLabel.text = @ "CHAPTER I. \ n \
\ N \
YOU don \ 't know about me without you have read a book by the name of The Adventures of Tom Sawyer; but that ain \' t no matter ";.
return pageTemplate;
}
If you want to display images such as / Users/Downloads/3d3d3fb.png path pictures how to change it
Reply:
Because you ios sandbox mechanism other applications can not access the file or directory.
If you want to operate this picture in this application, you should first copy of this picture and apply it to the current project. So you can operate the
UIImage * img = [UIImage imageNamed: @ "3d3d3fb.png"];
Reply:
Under regular circumstances, App can only manipulate files under the current Documents, or only to escape, but can not be released to the App Store
Reply:
No comments:
Post a Comment