The sendSubviewToBack method on a tableView doesn't seem to work in Xcode 9.
The concerned view which needs to be sent to back is still displayed at the top of the edge. That's kind of strange.
Is it a bug on the simulator ?
Does anyone have the same issue ?
Related
I used XCode version 7.2.1 for my project. But I updated the XCode version 8.0 now. Though the scroll view is messed in view controllers of my project. Here I have used Resizing only not an Auto layout. I referred many forums. But can't able to find a solution for that. Here I have attached similar links to what I had tried.
Xcode 8 GM seed Storyboard layout issue
Layout issues after updating to Xcode 8
I have to update frame of everything in storyboard every time I start Xcode
What is the exact solution for Scroll view resizing issue in XCode version 8.0?
Its work for me
https://stackoverflow.com/a/39770664/6619234 you can try this...
after Save & Close don't open this xib/Storyboard....it is an temporary solution....till the apple fix it..
Apple just came out with XCode 8.2, which fixes this problem for me. I have been using XCode 7.3.1 for my interface design parallel to 8.1, but I can now use 8.2 without any problems.
The storyboard gets updated with widths and height of frames though, to accommodate the new 'View as:' functionality. Though it doesn't seem to affect running on device/simulator.
Curiously, the bugfix it is not noted in the XCode 8.2 release notes.
I was able to solve the same by selecting my xib files and then I selected my view in the xib after that I went to attribute inspector and changed the size, status bar, top bar and bottom bar as inferred and it worked but before that xocode pointed out I am missing 2x retina display file so I clicked the warning and it was added automatically.
I asked to Apple about this same issue, and they have sent the following message to my inbox:
Hello Raja,
Engineering has determined that your bug report (28489404) and will be closed.
I just noticed a behavior change that seems related to migrating to iOS 9.
I have a UITableView. In the first UITableViewCell I have a UIScrollView that I use to page through images. It should only scroll left<-->right. Finger dragging up and down should drag the UITableView up and down. Up until iOS 9 it did do that beautifully... Now when I compile for iOS9 devices or simulator I can still scroll the images left<-->right but the table no longer scrolls up and down. Those touches just get sucked into the abyss.
Let me add that when I compile from Xcode 7 to my device running iOS 8.4 it still behaves as intended. Scrolls up and down when dragging in the embedded UIScrollView.
Furthermore, when I download my last released version (compiled on previously released Xcode for iOS 8.1 target I get the expected behavior on the iOS 9 phone.
Additional wrinkle of weirdness: if (back in xcode7 compiling live to iOS9 device again) I start scrolling vertically from one of the other cells and the table is still gliding to a stop THEN I CAN drag up and down from the UIScrollView. What the heck?
Anything obvious jump out here?
Thanks,
Bill
Something in iOS 9 changes with respect to self's frame, apparently. I had to change this:
self.scrollView.contentSize = CGSizeMake(self.frame.size.width*self.pageImages.count, self.frame.size.width);
to this:
self.scrollView.contentSize = CGSizeMake(self.frame.size.width*self.pageImages.count, self.window.frame.size.width);
See that reference to window in the final version? Second time that bit me. :)
According to my observation, in XCode 7, if you put a UITextView in storyboard, and if the default text is less than 10 characters, the view controller won't load, and XCode throws no exception either - the app just hangs there.
I found it while migrating one of my XCode 6 project to XCode 7, and spent a lot of time to get there. I also started a clean slate project to confirm this behavior, and hope to put here to see if anybody else can confirm this?
I have seen this same thing, and was going to submit a question before I found this but I do not have the required reputation points to comment on the above question. This most definitely worked on xcode 6.4 with iOS 8 and is a new bug with xcode 7 as well as 7.0.1. This is an issue with both the simulator as well as on device.
iOS bug 22983873 submitted.
I would like to ask how to disable rotation of a specific view in iOS 8. Although there is an answer in: Disable Rotation of UIViewController in iOS 8
However my app still crashes with error:
*** Assertion failure in -[ARQuestionPageViewController willAnimateRotationToInterfaceOrientation:duration:], /SourceCache/UIKit_Sim/UIKit-3318.69/UIPageViewController.m:996
even when this function is deprecated in iOS 8.
Could anyone help me how to do that? Thank you!
I have old code using the MainWindow.xib, below iOS 7 everything works fine but in iOS 8 its leaving some bottom area.
Attaching image -
Please suggest anyone, how can i fix this.
I had this problem while ago. Turned out I had deleted the launch screen.
To make it right, add launch screen back by going in general setting of your project and adding your launch xib there.
I hope this fix your problem.
I solved this by adding new Launchimages. Removed my old ones and created a "New Launch Image". Also take a look at your autoresizing in the xib file under the "Size Inspector".