Question: Hi i am very new for ios and in my app i am loading Launcher screens they are(Default-568h@2x.png,Default.png,Default@2x.png,Default-414w-736h@3x~iphone.jpeg,Default-375w-667h@2x~iphone.jpeg) ok that's fine

When i run my app 4,5,5s simulators screen is fitting perfectly see my 5s simulator screen

But when i load my app in 6,6s,6plus simulators small little bit gap coming at top and bottom side see my below 6 simulator screen

what is the problem is it sumulator problem or any other problem please guide me

5 inch simulator:-
------------------

[![enter image description here](https://i.stack.imgur.com/Bkrgz.png)](https://i.stack.imgur.com/Bkrgz.png)

6 inch simulator:-
------------------

[![enter image description here](https://i.stack.imgur.com/DtLR9.png)](https://i.stack.imgur.com/DtLR9.png)

Answer: 
You can find a sample in the [example app](https://bitbucket.org/igor_sechyn/hystrixjs/src/fee8b26a6cfd416299633b032b4b40e3aabaed88/example/app/app.js?at=master&fileviewer=file-view-default) in the repo. But also feel free to submit a question on bitbucket and I will try to provide more examples.

In general you can wrap any function that returns a promise, it does not have to be a http request, although it is the most common use case. 

The dashboard is not part of hystrix itself. The way it works, you can run a dashboard locally, see for instructions [here](https://github.com/Netflix/Hystrix/tree/master/hystrix-dashboard) and then add an endpoint to your application to expose the metrics. The example app shows how to do it:

```
function hystrixStreamResponse(request, response) {
    response.append('Content-Type', 'text/event-stream;charset=UTF-8');
    response.append('Cache-Control', 'no-cache, no-store, max-age=0, must-revalidate');
    response.append('Pragma', 'no-cache');
    return hystrixStream.toObservable().subscribe(
        function onNext(sseData) {
            response.write('data: ' + sseData + '\n\n');
        },
        function onError(error) {console.log(error);
        },
        function onComplete() {
            return response.end();
        }
    );
};

app.get('/api/hystrix.stream', hystrixStreamResponse);

```

You can then paste the url into the dashboard and it will display your commands.

Let me know if it helps
In case, you use hapi server, you can create sse data:

```
use strict'
const hystrixSSEStream = require('hystrixjs').hystrixSSEStream;
module.exports = [
    {
        method: 'GET',
        path: '/hystrix-sse-stream',
        handler: (request, reply) => {
            request.raw.res.writeHead(200, { 'content-type': 'text/event-stream; charset=utf-8',
                'Pragma': 'no-cache',
                'cache-control': 'no-cache, no-store, max-age=0, must-revalidate' })
            hystrixSSEStream.toObservable().subscribe(
                function onNext(sseData) {
                    request.raw.res.write('data: ' + sseData + '\n\n')
                },
                function onError(error) {
                    reply(error)
                },
                function onComplete() {
                    reply.continue()
                }
            )
        }
    }
]

```