diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/ios/iOS UI Test/iOS UI Test/MasterViewController.m | 7 | ||||
-rw-r--r-- | example/ios/iOS UI Test/iOS UI Test/en.lproj/MainStoryboard.storyboard | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m index 5bbc0d53..1b2528d1 100644 --- a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m +++ b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m @@ -171,6 +171,13 @@ finishedRefreshWithFetcher:(GTMHTTPFetcher *)fetcher MCOIMAPMessage *message = self.messages[indexPath.row]; cell.textLabel.text = message.header.subject; + + MCOIMAPMessageRenderingOperation * op = [self.imapSession plainTextBodyRenderingOperationWithMessage:message + folder:@"INBOX"]; + + [op start:^(NSString * htmlString, NSError * error) { + cell.detailTextLabel.text = htmlString; + }]; return cell; } diff --git a/example/ios/iOS UI Test/iOS UI Test/en.lproj/MainStoryboard.storyboard b/example/ios/iOS UI Test/iOS UI Test/en.lproj/MainStoryboard.storyboard index cf016fe6..72b2d274 100644 --- a/example/ios/iOS UI Test/iOS UI Test/en.lproj/MainStoryboard.storyboard +++ b/example/ios/iOS UI Test/iOS UI Test/en.lproj/MainStoryboard.storyboard @@ -84,4 +84,4 @@ <simulatedOrientationMetrics key="orientation"/> <simulatedScreenMetrics key="destination" type="retina4"/> </simulatedMetricsContainer> -</document>
\ No newline at end of file +</document> |