ios - Xib ipad window size small -


I change the iPhone Xb for iPad xib. I refer to this link. But after deploying on ipadm, the scene size is very small. It displays the center of the screen, it will not display 768x1024 screensavers.

code:

  NSString * aboutFilePath = [[NSBundle main bundle] Pathfoser resource: @ "index" type: @ "html"]; NSLog (@ "% @", aboutFilePath); NSString * htmlString = [NSString stringWithContentsOfFile: aboutFilePath encoding: NSUTF8StringEncoding error: zero]; NSString * aapath = [[NSBundle main bundle] bundle]; Ns URL * single URL = [NSUr file URL with path: epath]; [WebView Load HTML String: htmlString baseURL: anURL];  

Enter image details here

itemprop = "text">

You need to make the app universal, go to your project settings in the encode, under the General tab, and replace the device: from the iPhone to Universal < / P>

app type selector


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -