feat:fix iOS UIImageView wrapcontent
This commit is contained in:
@@ -153,8 +153,8 @@
|
||||
E2334AF222E9D2060098A085 /* ViewController.m */,
|
||||
E2334AF422E9D2060098A085 /* Main.storyboard */,
|
||||
E2334AF722E9D2070098A085 /* Assets.xcassets */,
|
||||
E2334AF922E9D2070098A085 /* LaunchScreen.storyboard */,
|
||||
E2334AFC22E9D2070098A085 /* Info.plist */,
|
||||
E2334AF922E9D2070098A085 /* LaunchScreen.storyboard */,
|
||||
E2334AFD22E9D2070098A085 /* main.m */,
|
||||
D751D19E97EF4EDD7588FEBE /* DemoVC.m */,
|
||||
D751DDEC114E037231257E64 /* DemoVC.h */,
|
||||
|
@@ -34,6 +34,13 @@
|
||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string></string>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
|
@@ -39,6 +39,7 @@ - (instancetype)initWithContext:(DoricContext *)doricContext {
|
||||
- (void)initWithSuperNode:(DoricSuperNode *)superNode {
|
||||
[super initWithSuperNode:superNode];
|
||||
self.reusable = YES;
|
||||
self.view.clipsToBounds = YES;
|
||||
}
|
||||
|
||||
- (DoricStackView *)build {
|
||||
|
@@ -152,4 +152,7 @@ - (void)clearSubModel {
|
||||
- (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
|
||||
return nil;
|
||||
}
|
||||
- (void)requestLayout {
|
||||
[self.view setNeedsLayout];
|
||||
}
|
||||
@end
|
Reference in New Issue
Block a user