Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

iOS - Can't back swipe and titleImage bug when backing

$
0
0

Hi,

I've got 2 problems with the back button. First, I have a navbar with a titleImage and when I click on the back button, the animation fails. Here's a gif : http://vpictu.re/uploads/8e96e1dbfe6a0387ebe6f7535c0fc10d47609626.gif

Second problem (same window), when I open the window into the tab, I can't swipe left to right to back like in NavigationWindow.

Here's the code:

index.xml

<Alloy>
    <TabGroup backgroundColor="white" id="win" activeTabIconTint="#A72B36">
        [...]
        <Tab id="tab3" title="Tab 3" icon="Titanium.UI.iPhone.SystemIcon.SEARCH">
            <Window id="win8" title="Red Window" backgroundColor="red">
                <Button id="button" onClick="openBlueWindow">Open Blue Window</Button>
            </Window>
        </Tab>
    </TabGroup>
</Alloy>
index.js
function openBlueWindow(e) {
    var win9 = Alloy.createController('connect').getView();
    $.tab3.openWindow(win9, {animated:true});
}
 
$.win.open();
connect.xml
<Alloy>
    <Window id="win9" title="Blue Window" backgroundColor="blue">
    </Window>
</Alloy>
app.tss
"Window": {
    extendEdges:[Ti.UI.EXTEND_EDGE_TOP, Ti.UI.EXTEND_EDGE_BOTTOM],
    statusBarStyle: Ti.UI.iPhone.StatusBar.OPAQUE_BLACK,
    barColor: '#A72B36',
    barTintColor: '#fff',
    titleImage: '/images/navbar_logo.png'
}
Do you have any solutions?

Thanks you


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>