我经常在我的应用程序中崩溃.iOS系统的崩溃似乎只发生在最新的iOS 11中.
这是崩溃
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x18439d7ec objc_object::release() + 8
1 SafariServices 0x1995d471c __75-[SFAuthenticationViewController dismissViewControllerAnimated:completion:]_block_invoke + 32
2 UIKit 0x18e5bf030 -[UIPresentationController transitionDidFinish:] + 1320
3 UIKit 0x18e79e760 -[_UICurrentContextPresentationController transitionDidFinish:] + 44
4 UIKit 0x18e5c2a20 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke_2 + 188
5 UIKit 0x18e38e9d8 -[_UIViewControllerTransitionContext completeTransition:] + 116
6 UIKit 0x18e38e7c8 -[UITransitionView notifyDidCompleteTransition:] + 252
7 UIKit 0x18e38e260 -[UITransitionView _didCompleteTransition:] + 1128
8 UIKit 0x18e38dde4 -[UITransitionView _transitionDidStop:finished:] + 120
9 UIKit 0x18e2b370c -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 312
10 UIKit 0x18e2b3418 -[UIViewAnimationState animationDidStop:finished:] + …Run Code Online (Sandbox Code Playgroud) 我有布局内存问题.当我有一个大型webview时它没有显示任何内容,并且logcat显示"View太大而无法适应绘图缓存".
布局是:
<ScrollView
android:id="@+id/scrollNoticia"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/ficha_curva"
android:layout_below="@+id/linea"
android:scrollbars="none"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="12dp"
>
<WebView
android:id="@+id/webViewNoticia"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="none"
/>
<GridView
android:id="@+id/gridGaleria"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/webViewNoticia"
android:horizontalSpacing="4dp"
android:verticalSpacing="4dp"
android:numColumns="4" >
</GridView>
</RelativeLayout>
</ScrollView>
Run Code Online (Sandbox Code Playgroud) 我正在开发 iOS 的 WebRTC 应用程序。我的目标是从 WebRTC 对象录制视频。
我有委托 RTCVideoRenderer 为我提供了此方法。
-(void)renderFrame:(RTCI420Frame *)frame{
}
Run Code Online (Sandbox Code Playgroud)
我的问题是:如何将对象 RTCI420Frame 转换为有用的对象以显示图像或保存到磁盘。
iOS11中有一个iPhoneX模拟器有问题.
我有一个没有状态栏的viewcontroller.要做到这一点,我添加:
- (BOOL)prefersStatusBarHidden {
return YES;
}
Run Code Online (Sandbox Code Playgroud)
到目前为止它还不错,但导航栏与iPhoneX中的safearea重叠.
我怎样才能解决这个问题?
ios ×3
ios11 ×2
android ×1
android-view ×1
caching ×1
crash ×1
iphone ×1
objective-c ×1
webrtc ×1