UIBarButtonSystemItemPageCurl in iOS 5 beta missing - ios

In my latest release application, everything looks good on iOS4+, but not on iOS5 Beta.
The only thing that is wrong is that the UIBarButtonSystemItemPageCurl is not shown on iOS5 devices. It shows an empty UIBarButtonItem with style Plain.
It looks good in IB in XCode 4.1, will test on my work computer as well on the BETA XCode tomorrow.
Does anyone know why this happens, or is this a bug in iOS5 beta?
EDIT
The question: If someone else found this too, how can I fix it (the correct way!)?

I'm still getting this issue with iOS 5.0 (non-beta). It looks like someone created their own page curl button here:
http://blog.shuningbian.net/2011/01/ios-toolbar-pagecurl-icon.html
Alternatively you can try using this tool to extract the icon from UIKit on a version 4 device:
https://github.com/0xced/UIKit-Artwork-Extractor

UIBarButtonSystemItemPageCurl can only be used in toolbars, at the bottom of the screen. Else the button is simply not displayed, like in a navigation bar.

Related

Modify text in SwiftUI

If I changed the content of Text in SwiftUI, the text got stretch/truncated.
For example, let's say we changed the Text from "World" to "SwiftUI", we got the result as shown. How do we prevent this to happened?
Your code is working fine, it's probably a bug when you're previewing the app. If you actually run the app on a simulator you will see the text updating correctly. Hopefully it will be fixed in the next Xcode 11 beta releases.
Update: This issue was fixed with Xcode 11 beta 2.

Very different UI results on iOS with the same code

I have written same code and launched it on simulator iPhone 7 with iOS 10.3 and on my iPhone 6 with iOS 10.3.3 and I see some differences in there. I am sure you can see that too(the buttons are underlined, change color button has different background, etc.) . Why there is this difference? Can you help me out? Thanks a lot.
I think it's not an issue with your code. This issue is because you have switched on Settings > General > Accessibility Button shapes in iPhone 6.
Switch it off and the UI will become fine.
It looks like you have some of the accessibility options turn on on your iPhone 6. It looks like "Button shapes" is turned on.

Xcode 8.0 layout issue after open storyboard and perform update frames

I developed a project using xcode 7 and i updated my xcode to version 8.0 . According to the below steps it happens (I just wanted to show in which step this layout bug appears).
i opened my previous project and run in xcode 8 it works fine at first without opening the story board from xcode. (This is only a one view of my app).
And i open the story board by selecting iphone SE (new feature of xcode 8)
i ran the project after opening the storyboard, then this view looks fine too but the storyboard view was a mess
(but many other views looks messy in my iphone after opening the storyboard)
storyboard view looks like this
according the the stack overflow researches i perform "update frames" action in storyboard to this view. after that it looks good in storyboard
but it looks wired when run in iphone after perform "update frames"
is this a bug in xcode 8 or any solutions to this. this layout issue starts after opening the storyboard from xcode 8, without that it works fine in UI
you can check this link :https://forums.developer.apple.com/thread/63133 it should help you a little bit , or (I have done this option in my projects) you can change the frame( of ViewController) to freeroam (600, 600) , if your view looks totally different. The final option is to make you constrains again to fit the ViewController's size(the longest but I think that the best option).
Did you put your UI in a subview?
Cause I have the exactly same problem with you,
and I solved the problem by adding " self.layoutIfNeeded() " in the area which generate my subview.
Hope this help.
This issue is resolved by Apple in xcode 8.1 please download the new xcode and try it again running on simulator or device you may get this issue resolved i have done this and it resolve my issue at once while i am now using xcode 8.1.

Why my UI views have an iOS 6 look when in Xcode but not when building the app

I have a project that I created using Xcode 4 and the iOS 6 UI, when I opened the project with Xcode 5 for first the time I was asked if I wanted to convert the project and I said yes, It did its thing and everything worked fine, when I run the application it looks and feels like iOS 7 (the app is super simple). The issue or what I want to change is the way the UI views look in Xcode (UIBuilder), for instance if I add a new button to my view controller it shows the button with the border around it as in iOS 6, but again, when I run the app the border disappears, it looks like iOS 7 without the border which is what I want but it bothers me to see the border when I'm in Xcode.
Any idea? Is this a normal behavior when moving from one iOS version to another?
Thanks

Xcode 5 compiling against ios6.1 does not preserve layout

Im having layout issues with projects that target iOS6.1 SDK that are built in xCode 5. My view controllers seem to extend under the top nav bar and the top nav bar is transparent. Setting 'extend edges' has no effect since I am compiling against iOS6.1.
Has anyone been able to find a way to use XCode 5 for pre iOS7 apps or do I basically have to use XCode 4?
I was having the same problem with my iOS6.x app when built with Xcode 5. It looks like in Xcode 5, being careless with your UINavigationBar translucency has serious, but easily fixable consequences.
In my case, making the fix in Interface Builder (IB) made sense as the quickest & easiest way to go. Take a look at this screen grab that shows the translucency check boxes that I unchecked to fix the problem in my app with a UITabBarController and four tabs (i.e. five things had to be un-checked in IB):
try to do that
first press on view
then

Resources