UISearchDisplayController Issue - ios

I am trying to implement UISearchDisplayController in my existing tableview but whenever i try to search it covers all the view. Please check the below screen shot more detail idea.
I am using xCode 7 Beta and iOS9 Simulator.
Here when i start searching it covers all the screen.
I already search for this but none of the solution worked for me.

Just tried a similar test project on Xcode 7 without auto layout and it works fine for me:
What exactly does your view hierarchy look like? Perhaps the top bar on your view is preventing the search bar from moving up?

Related

UI Difference in IOS 11 and Lower versions

In my application while designing the UI i am facing some UI Issue.
The Top contraints I am setting in story board are coming same in IOS 11 but in versions lower to that UI is moving up. Please see the attached image
As you can see image in IOS 10 is above from the one in IOS 11.2.
How I can have the same UI in all the versions.
Contraints I have added are below:
Any help would be highly appreciated.
Adding below line in my view controller solved my problem.
edgesForExtendedLayout = UIRectEdge.init(rawValue: 0)
It appears that in iOS 10 and below my view was going under the navigation bar which made to look that view has shifted up. But it was working all fine in iOS 11. So to avoid view controller to go behind any bars added the above line which solved my problem.

iOS 11 No background color for status bar in master side of splitview

I have seen a couple of issues similar to this but theirs seemed to be in the main view of their app. I have tried some of their suggestions like deselecting "Safe Area Relieve Margins" in the Size Inspector pane but none have worked. In the Detail side of my iPad app, the background color of my navigation bar stops at the status bar.
In this screenshot, I tried to use MMDrawerController to see if using something other than UISplitViewController would work but I have the same problem for both. So far the only difference between the two libraries is I haven't seen UISplitViewController work at all but with MMDrawerController, if you set openDrawerGestureModeMask to MMOpenDrawerGestureModePanningCenterView and the master view stretches a little bit then the background color renders correctly.
I saw on one of the other post that their issue was a bug for Xcode and there had been several people who already filed their bug Apple. Could this be a separate issue that Apple needs to know about as well if it is a iOS bug?
This is not an issue for iOS 9.X or 10.X, only 11.X.

Weird space in iOS7

I just ran a demo app on iOS 7 target, this is what I get:
I'm using a storyboard and it looks well in iOS8. Constraints are correct.
I already checked e.g.
UITableView is starting with an offset in iOS 7
but the issue in this case is the whole thing, incl. status bar has the offset, no idea what this is. I played around with the layout settings of the view controller in the storyboard without any effect.
I also created a brand new (single view) project, ran it without changing anything, got the same issue. Don't know what can go wrong in a new project concerning autolayout as I can't set any constraints in the root view controller's view...
Any ideas?
Thanks in advance.
Try adding a "Default-568h#2x.png" launch screen to keep your iOS 7 device from running the app in Letterbox mode.
What Apple really wants you to do is use Auto-layout (see point 1 in the linked blog), which is what I suspect your demo app isn't doing.

ios 7 support for existing iPad app

I have existing iPad app supporting iOS 5 and 6.
Can anybody help me to list down item that I need to take care while supporting iOS 7?
One thing I noticed that in existing code ((UITableView*)self.superview) in UITableViewCell doesn't work. superview of UITableViewCell is UITableViewWrapperView that need to be fixed in existing code.
The things are:
1. Navigation bar height and view style are different
2. Status bar is transparent in iOS 7 as in iOS 6 it was opaque.
3. Small thing is about the tint color. By default it is light blue in iOS 7.
4. Button borders have been removed.
Issue's i have faced while running the app in IOS 7.
Status bar issue (view controller get overlaps 20 pixel.)
FixForStatusBarIssue
Customize alert view won't work in IOS7. (We can't customize the alert view in IOS 7.)
My Fix -> You need to customize the view exactly like u want because you can't customize alert view in IOS7.
Issues related to threads.
My Fix -> Use dispatch_queue(GCD with delay) in case of UI not responding (Presenting a view controller from background thread.)
Zbar sdk memory leaks while presenting and dismissing the SDK (more than 5 times app getting slow.)
FixForZbarMemoryLeakIssue
this are the issues i have faced. fixes i have suggested working fine for me. You just use it if you need hope it will work.
Apple's iOS 7 UI Transition guide
Read descriptions of every single element you used in your app.
And be aware of the style and position of the bars (navigation bar/tab bar/tool bar...).
iOS 7 has changed a lot in view hierarchies, you can use Reveal to make things easier.

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