Skip to content

Commit

Permalink
Do not call render at viewDidLoad (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeohan authored and Gilles Khouzam committed May 18, 2018
1 parent 2155554 commit feb4efd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ - (instancetype)init:(ACOAdaptiveCard *)card hostconfig:(ACOHostConfig *)config
- (void)viewDidLoad
{
[super viewDidLoad];
self.view = [[[ACRView alloc] init:_adaptiveCard hostconfig:_hostConfig widthConstraint:_guideFrame.size.width] render];
self.view = [[ACRView alloc] init:_adaptiveCard hostconfig:_hostConfig widthConstraint:_guideFrame.size.width];
((ACRView *)self.view).acrActionDelegate = _delegate;
}

Expand Down

0 comments on commit feb4efd

Please sign in to comment.