Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 32    Views: 87

othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
12/24/13 04:15 PM (11 years ago)

Tumblr menu problem

Hi, I replaced one existing "menu with image" by the "tumblr menu". All worked perfectly before I use the tumblr menu. The rows are a "Facebook feed" plugins and they worked as described. The problem comes when i set the tumblr menu instead of the "menu with image". I compiled in Xcode with no issue, and run it in the simulator, when i push a button (which is a Facebook feed plugin), the buttons moves as shown by Chris in the youtube demonstration video but failed to load the button associated plugin's and i have a blank page with the following message: "missing plugin: the view controller for this plugin was not compiled in the xcode project"
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/24/13 05:07 PM (11 years ago)
What's your debug output?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
12/24/13 05:15 PM (11 years ago)
Is this for an existing package that you downloaded before purchasing the new plugin? If you downloaded the package, and purchased the plugin later, it won't have been in your download, and will not be available. If this is the case, you can either add the plugin manually, or redownload a new package. Cheers! -- Smug
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
12/24/13 06:08 PM (11 years ago)
@Chris: the debug output is empty. For target output i have this output: CR_Tumblr_Menu: viewDidLoad (super) 2013-12-25 00:59:33.177 bestfacebook[3849:70b] CR_Tumblr_Menu: viewWillAppear (super) 2013-12-25 00:59:33.177 bestfacebook[3849:70b] CR_Tumblr_Menu: configureNavBar (super) for screen with itemId: F628C93AC59590E647202CD 2013-12-25 00:59:33.178 bestfacebook[3849:70b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "Main Page" does not use a navBarBackgroundColor 2013-12-25 00:59:33.181 bestfacebook[3849:70b] CR_Tumblr_Menu: configureBackground (super) for screen with itemId F628C93AC59590E647202CD: 2013-12-25 00:59:33.181 bestfacebook[3849:70b] BT_background_view: updateProperties (color and image) for screen with itemId: F628C93AC59590E647202CD: 2013-12-25 00:59:33.182 bestfacebook[3849:70b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2013-12-25 00:59:33.182 bestfacebook[3849:70b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2013-12-25 00:59:33.197 bestfacebook[3849:70b] BT_background_view: setImage 2013-12-25 00:59:33.198 bestfacebook[3849:70b] CR_Tumblr_Menu: loadData 2013-12-25 00:59:33.209 bestfacebook[3849:70b] CR_Tumblr_Menu: using menu items from the screens configuration data. 2013-12-25 00:59:33.209 bestfacebook[3849:70b] CR_Tumblr_Menu: layoutScreen 2013-12-25 00:59:33.210 bestfacebook[3849:70b] CR_Tumblr_Menu: No image provided? 2013-12-25 00:59:33.210 bestfacebook[3849:70b] CR_Tumblr_Menu: No image provided? 2013-12-25 00:59:43.687 bestfacebook[3849:70b] CR_Tumblr_Menu: Cauet et NRJ selected 2013-12-25 00:59:43.702 bestfacebook[3849:70b] CR_Tumblr_Menu: handleTapToLoadScreen (super) loading nickname: "" itemId: itemType: 2013-12-25 00:59:43.703 bestfacebook[3849:70b] BT_application: getViewControllerForScreen nickname: "no nickname?" itemId: type: 2013-12-25 00:59:43.703 bestfacebook[3849:70b] BT_application: getViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 2013-12-25 00:59:43.704 bestfacebook[3849:70b] BT_plugin_missing: INIT 2013-12-25 00:59:43.705 bestfacebook[3849:70b] BT_navController: pushViewController 2013-12-25 00:59:43.713 bestfacebook[3849:70b] BT_plugin_missing: viewDidLoad (super) 2013-12-25 00:59:43.714 bestfacebook[3849:70b] BT_plugin_missing: viewDidLoad 2013-12-25 00:59:43.714 bestfacebook[3849:70b] BT_plugin_missing: viewWillAppear (super) 2013-12-25 00:59:43.715 bestfacebook[3849:70b] BT_plugin_missing: configureNavBar (super) for screen with itemId: error view controller has no itemId 2013-12-25 00:59:43.715 bestfacebook[3849:70b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "(null)" does not use a navBarBackgroundColor 2013-12-25 00:59:43.717 bestfacebook[3849:70b] BT_plugin_missing: configureBackground (super) for screen with itemId error view controller has no itemId: 2013-12-25 00:59:43.718 bestfacebook[3849:70b] BT_background_view: updateProperties (color and image) for screen with itemId: error view controller has no itemId: 2013-12-25 00:59:43.718 bestfacebook[3849:70b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2013-12-25 00:59:43.719 bestfacebook[3849:70b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2013-12-25 00:59:43.719 bestfacebook[3849:70b] BT_background_view: setImage @Smug: it's a new project to test the tumblr menu.
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
12/24/13 06:22 PM (11 years ago)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/24/13 06:25 PM (11 years ago)
Hmm, for some reason it's not getting a reference to the screen to load. I'll look into it
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/24/13 06:30 PM (11 years ago)
Okay - found a typo in the code. I just updated it - download fresh source code.
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
12/24/13 06:57 PM (11 years ago)
I downloaded a fresh source code, tried several time, but i got the same results. Even the button images are not downloaded and i tried the 2 ways local file and url. The debug output is:BT_application: building a single navigation controller app 2013-12-25 01:50:50.020 bestfacebook[5120:70b] BT_application: getViewControllerForScreen nickname: "Main Page" itemId: F628C93AC59590E647202CD type: CR_Tumblr_Menu 2013-12-25 01:50:50.021 bestfacebook[5120:70b] CR_Tumblr_Menu: INIT 2013-12-25 01:50:50.021 bestfacebook[5120:70b] BT_navController: pushViewController 2013-12-25 01:50:50.021 bestfacebook[5120:5903] BT_fileManager: File does exist in Xcode bundle: "bt_funk.mp3" 2013-12-25 01:50:50.027 bestfacebook[5120:70b] BT_application: This app does not use a splash screen 2013-12-25 01:50:50.028 bestfacebook[5120:70b] BT_loadConfigDataViewController: fadeOutLoadView 2013-12-25 01:50:50.047 bestfacebook[5120:5903] BT_fileManager: File does exist in Xcode bundle: "bt_glass.mp3" 2013-12-25 01:50:50.529 bestfacebook[5120:70b] BT_loadConfigDataViewController: fadeInStartView 2013-12-25 01:50:50.532 bestfacebook[5120:70b] CR_Tumblr_Menu: viewDidLoad (super) 2013-12-25 01:50:50.560 bestfacebook[5120:70b] CR_Tumblr_Menu: viewWillAppear (super) 2013-12-25 01:50:50.561 bestfacebook[5120:70b] CR_Tumblr_Menu: configureNavBar (super) for screen with itemId: F628C93AC59590E647202CD 2013-12-25 01:50:50.562 bestfacebook[5120:70b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "Main Page" does not use a navBarBackgroundColor 2013-12-25 01:50:50.567 bestfacebook[5120:70b] CR_Tumblr_Menu: configureBackground (super) for screen with itemId F628C93AC59590E647202CD: 2013-12-25 01:50:50.567 bestfacebook[5120:70b] BT_background_view: updateProperties (color and image) for screen with itemId: F628C93AC59590E647202CD: 2013-12-25 01:50:50.568 bestfacebook[5120:70b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2013-12-25 01:50:50.568 bestfacebook[5120:70b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2013-12-25 01:50:50.597 bestfacebook[5120:70b] BT_background_view: setImage 2013-12-25 01:50:50.598 bestfacebook[5120:70b] CR_Tumblr_Menu: loadData 2013-12-25 01:50:50.598 bestfacebook[5120:70b] CR_Tumblr_Menu: using menu items from the screens configuration data. 2013-12-25 01:50:50.598 bestfacebook[5120:70b] CR_Tumblr_Menu: layoutScreen 2013-12-25 01:50:50.599 bestfacebook[5120:70b] CR_Tumblr_Menu: No image provided? 2013-12-25 01:50:50.599 bestfacebook[5120:70b] CR_Tumblr_Menu: No image provided? 2013-12-25 01:50:58.394 bestfacebook[5120:70b] CR_Tumblr_Menu: Cauet et NRJ selected 2013-12-25 01:50:58.441 bestfacebook[5120:70b] CR_Tumblr_Menu: handleTapToLoadScreen (super) loading nickname: "" itemId: itemType: 2013-12-25 01:50:58.442 bestfacebook[5120:70b] BT_application: getViewControllerForScreen nickname: "no nickname?" itemId: type: 2013-12-25 01:50:58.442 bestfacebook[5120:70b] BT_application: getViewControllerForScreen: ERROR, could not initialize view controller for screen with itemId: 2013-12-25 01:50:58.442 bestfacebook[5120:70b] BT_plugin_missing: INIT 2013-12-25 01:50:58.443 bestfacebook[5120:70b] BT_navController: pushViewController 2013-12-25 01:50:58.457 bestfacebook[5120:70b] BT_plugin_missing: viewDidLoad (super) 2013-12-25 01:50:58.457 bestfacebook[5120:70b] BT_plugin_missing: viewDidLoad 2013-12-25 01:50:58.458 bestfacebook[5120:70b] BT_plugin_missing: viewWillAppear (super) 2013-12-25 01:50:58.458 bestfacebook[5120:70b] BT_plugin_missing: configureNavBar (super) for screen with itemId: error view controller has no itemId 2013-12-25 01:50:58.458 bestfacebook[5120:70b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "(null)" does not use a navBarBackgroundColor 2013-12-25 01:50:58.461 bestfacebook[5120:70b] BT_plugin_missing: configureBackground (super) for screen with itemId error view controller has no itemId: 2013-12-25 01:50:58.461 bestfacebook[5120:70b] BT_background_view: updateProperties (color and image) for screen with itemId: error view controller has no itemId: 2013-12-25 01:50:58.462 bestfacebook[5120:70b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2013-12-25 01:50:58.462 bestfacebook[5120:70b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2013-12-25 01:50:58.463 bestfacebook[5120:70b] BT_background_view: setImage
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
12/24/13 08:32 PM (11 years ago)
It seems you have deleted the BT_Audio folder and its contents. Go to your Targets and select your project name -->Select Build Phases --> Expand Copy Bundle Resources and find for these 2 files- bt_funk.mp3 and bt_glass.mp3. After finding these 2 files, delete them from there by clicking on the - button. Clean and build your project.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/24/13 09:27 PM (11 years ago)
What's your BT_config.txt look like?
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
12/25/13 01:45 AM (11 years ago)
@Sandeep: i followed your instructions, but the problem remain
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
12/25/13 01:47 AM (11 years ago)
@Chris: this is my BT_config.txt: {"BT_appConfig": { "BT_items":[ {"itemId":"JA1A3E0782548D21D36654094", "itemType":"BT_app", "buzztouchAppId":"", "buzztouchAPIKey":"", "dataURL":"https://www.buzztouch.com/api/app/?command=getAppData&appGuid=JA1A3E0782548D21D36654094&apiKey=67296F8BB76A2AA211E4649&apiSecret=34174E0D802D892A6E01B7A", "reportToCloudURL":"https://www.buzztouch.com/api/app/?command=reportToCloud&appGuid=JA1A3E0782548D21D36654094&apiKey=67296F8BB76A2AA211E4649&apiSecret=34174E0D802D892A6E01B7A&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId]", "registerForPushURL":"https://www.buzztouch.com/api/app/?command=registerForPush&appGuid=JA1A3E0782548D21D36654094&apiKey=67296F8BB76A2AA211E4649&apiSecret=34174E0D802D892A6E01B7A&deviceId=[deviceId]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude]&deviceModel=[deviceModel]&userId=[userId]", "lastModified":"Wed, 25 Dec 2013 01:48:27 -0800", "lastPublished":"Tue, 24 Dec 2013 22:10:07 -0800", "name":"Best Facebook", "version":"1.0", "currentMode":"Design", "startLocationUpdates":"0", "promptForPushNotifications":"0", "allowRotation":"largeDevicesOnly", "BT_themes":[{"itemId":"1C1EE1C70B482E40407073D", "itemType":"BT_theme", "backgroundColor":"#FFFFFF"} ], "BT_tabs":[ ], "BT_menus":[ ], "BT_screens":[{"itemId":"F628C93AC59590E647202CD", "itemType":"CR_Tumblr_Menu", "itemNickname":"Main Page", "itemId": "F628C93AC59590E647202CD", "itemType": "CR_Tumblr_Menu", "itemNickname": "Main Page", "navBarTitleText": "Main Page", "navBarStyle": "hidden", "backgroundColor": "#FFFFFF" , "childItems":[{"itemId":"023513F003AABB407D827DF", "itemType":"BT_menuItem", "titleText":"Cauet", "iconName":"rondvert.jpeg"}, {"itemId":"2D54C3CD6DDF7EA46C5C73A", "itemType":"BT_menuItem", "titleText":"Cauet et NRJ", "iconName":"rondbleu.jpeg"}]}, {"itemId":"08F7B727F049B30D25D7C8A", "itemType":"BT_screen_menuListSimple", "itemNickname":"Home Screen Menu", "navBarTitleText":"Home", "childItems":[{"itemId":"2B39B60CFDAA8565AF77372", "itemType":"BT_menuItem", "loadScreenWithItemId":"17A5C688821B42935ED9D8E","titleText":"Cauet sur NRJ" }, {"itemId":"4C2AB23DC40755A6047A0F6", "itemType":"BT_menuItem", "loadScreenWithItemId":"F2895A712D4A0A0A1D62BAC","titleText":"Skyrock P" }, {"itemId":"EC6B9E41E0144D77E74A660", "itemType":"BT_menuItem", "loadScreenWithItemId":"DD81B32C1040F5C3B5D5BEE","titleText":"NRJ 1" }]}, {"itemId":"17A5C688821B42935ED9D8E", "itemType":"CR_facebook_feed", "itemNickname":"Cauet sur NRJ", "itemId":"17A5C688821B42935ED9D8E", "itemType":"CR_facebook_feed", "itemNickname":"Cauet sur NRJ", "navBarTitleText":"Cauet sur NRJ", "facebookID":"107120516010831"}, {"itemId":"DD81B32C1040F5C3B5D5BEE", "itemType":"CR_facebook_feed", "itemNickname":"NRJ 1", "itemId":"DD81B32C1040F5C3B5D5BEE", "itemType":"CR_facebook_feed", "itemNickname":"NRJ 1", "navBarTitleText":"NRJ", "facebookID":"39824562567"}, {"itemId":"F2895A712D4A0A0A1D62BAC", "itemType":"CR_facebook_feed", "itemNickname":"Skyrock P", "itemId":"F2895A712D4A0A0A1D62BAC", "itemType":"CR_facebook_feed", "itemNickname":"Skyrock P", "navBarTitleText":"Skyrock", "facebookID":"16179605558"}, {"itemId":"A31CBC5133B2D9C10C977F9", "itemType":"CR_facebook_feed", "itemNickname":"FUNRADIO", "itemId":"A31CBC5133B2D9C10C977F9", "itemType":"CR_facebook_feed", "itemNickname":"FUNRADIO", "navBarTitleText":"FUN RADIO", "facebookID":"40749759802"}, {"itemId":"2878C439BE8AFEF33C88D4A", "itemType":"CR_facebook_feed", "itemNickname":"TF1", "navBarTitleText":"TF1"}, {"itemId":"27E412D663AC1F4C823FA88", "itemType":"CR_facebook_feed", "itemNickname":"NRJ 12", "navBarTitleText":"NRJ 12"}, {"itemId":"46B28DD852152230896CD01", "itemType":"CR_facebook_feed", "itemNickname":"Le Parisien", "navBarTitleText":"Le Parisien"}, {"itemId":"1A1FD2F83B24FE99DCD3DD5", "itemType":"CR_facebook_feed", "itemNickname":"M6", "navBarTitleText":"M6"}, {"itemId":"68CAE679E73F2FE1EBB7D47", "itemType":"CR_facebook_feed", "itemNickname":"Mister V", "navBarTitleText":"Mister V"}, {"itemId":"5798EACC48B979802C0E7A6", "itemType":"CR_facebook_feed", "itemNickname":"GAME ONE", "navBarTitleText":"GAME ONE"} ] } ] }}
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/25/13 08:18 AM (11 years ago)
Hmm so your two menu items have no screens associated with them. Try deleting them and adding them again.
 
othmane
Apple Fan
Profile
Posts: 105
Reg: Feb 08, 2012
Casablanca
1,050
like
12/25/13 02:50 PM (11 years ago)
I deleted the tumblr menu and added a new one with 3 menu items the problems are: 1) Icons are not loaded 2) No screen associated to the items Below an extract of the BT_config.text showing that: "itemType": "CR_Tumblr_Menu", "itemNickname": "Menu principal", "navBarTitleText": "Menu principal" , "childItems":[{"itemId":"2D80E7F30CCF8D8282E562A", "itemType":"BT_menuItem", "titleText":"Cauet", "iconURL":"https://www.buzztouch.com/applications110313/JA1A3E0782548D21D36654094/images/rondvert.jpeg"}, {"itemId":"2AFF90E4F8C1BD2337F5F54", "itemType":"BT_menuItem", "titleText":"NRJ", "iconURL":"https://www.buzztouch.com/applications110313/JA1A3E0782548D21D36654094/images/rondbleu.jpeg"}, {"itemId":"689FC2161034F79774C0BAF", "itemType":"BT_menuItem", "titleText":"TF1", "iconURL":"https://www.buzztouch.com/applications110313/JA1A3E0782548D21D36654094/images/rondbleu.jpeg"}]}, {"itemId":"08F7B727F049B30D25D7C8A", "itemType":"BT_screen_menuListSimple", "itemNickname":"Home Screen Menu", "navBarTitleText":"Home", "childItems":[{"itemId":"2B39B60CFDAA8565AF77372", "itemType":"BT_menuItem", "loadScreenWithItemId":"17A5C688821B42935ED9D8E","titleText":"Cauet sur NRJ" }, {"itemId":"4C2AB23DC40755A6047A0F6", "itemType":"BT_menuItem", "loadScreenWithItemId":"F2895A712D4A0A0A1D62BAC","titleText":"Skyrock P" }, {"itemId":"EC6B9E41E0144D77E74A660", "itemType":"BT_menuItem", "loadScreenWithItemId":"DD81B32C1040F5C3B5D5BEE","titleText":"NRJ 1" }]}, {"itemId":"17A5C688821B42935ED9D8E", "itemType":"CR_facebook_feed", "itemNickname":"Cauet sur NRJ", "itemId":"17A5C688821B42935ED9D8E", "itemType":"CR_facebook_feed", "itemNickname":"Cauet sur NRJ", "navBarTitleText":"Cauet sur NRJ", "facebookID":"107120516010831"}, {"itemId":"DD81B32C1040F5C3B5D5BEE", "itemType":"CR_facebook_feed", "itemNickname":"NRJ 1", "itemId":"DD81B32C1040F5C3B5D5BEE", "itemType":"CR_facebook_feed", "itemNickname":"NRJ 1", "navBarTitleText":"NRJ", "facebookID":"39824562567"}, {"itemId":"F2895A712D4A0A0A1D62BAC", "itemType":"CR_facebook_feed", "itemNickname":"Skyrock P", "itemId":"F2895A712D4A0A0A1D62BAC", "itemType":"CR_facebook_feed", "itemNickname":"Skyrock P", "navBarTitleText":"Skyrock", "facebookID":"16179605558"}, {"itemId":"A31CBC5133B2D9C10C977F9", "itemType":"CR_facebook_feed", "itemNickname":"FUNRADIO", "itemId":"A31CBC5133B2D9C10C977F9", "itemType":"CR_facebook_feed", "itemNickname":"FUNRADIO", "navBarTitleText":"FUN RADIO", "facebookID":"40749759802"}, {"itemId":"2878C439BE8AFEF33C88D4A", "itemType":"CR_facebook_feed", "itemNickname":"TF1", "navBarTitleText":"TF1"}, {"itemId":"27E412D663AC1F4C823FA88", "itemType":"CR_facebook_feed", "itemNickname":"NRJ 12", "navBarTitleText":"NRJ 12"}, {"itemId":"46B28DD852152230896CD01", "itemType":"CR_facebook_feed", "itemNickname":"Le Parisien", "navBarTitleText":"Le Parisien"}, {"itemId":"1A1FD2F83B24FE99DCD3DD5", "itemType":"CR_facebook_feed", "itemNickname":"M6", "navBarTitleText":"M6"}, {"itemId":"68CAE679E73F2FE1EBB7D47", "itemType":"CR_facebook_feed", "itemNickname":"Mister V", "navBarTitleText":"Mister V"}, {"itemId":"5798EACC48B979802C0E7A6", "itemType":"CR_facebook_feed", "itemNickname":"GAME ONE", "navBarTitleText":"GAME ONE"} ] } ]
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 06:18 AM (11 years ago)
Same problem here! Additionally to the "plugin not found" issue, I get a white screen with title and refresh icon on the left if I press the background and not one of the tumblr menu icons. Icons are shown, transition (flip) seems to work, just no pages loading and the other issue.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 09:03 AM (11 years ago)
Okay - I just updated the plugin. If you're self-hosted, be sure to update to the latest version (1.3). You won't need to download new source code, but you will need to go into the control panel screen and set the "screen to load" property for each menu item.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 09:26 AM (11 years ago)
Thx, that fixed the missing plugin issue. Still get the white screen if I press the background though ; Any chance that gets fixed too?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 09:27 AM (11 years ago)
I use the tumblr menu as home screen, maybe that causes the problem?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 09:34 AM (11 years ago)
I'll look into that
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 09:48 AM (11 years ago)
Okay - just pushed another update through - this one does affect the source code.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 10:05 AM (11 years ago)
updated the plugin, downloaded it and files were overwritten, but no change.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 10:06 AM (11 years ago)
really? that's strange. What does your debug show?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 10:12 AM (11 years ago)
hmm, don't know why, but it works now! Maybe some sort of delay... Thx Chris, all good! Thx for your quick help as always!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 10:14 AM (11 years ago)
great - glad it's working :)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 10:38 AM (11 years ago)
Only sad thing left is that it is not usable or 3.0 as it pretty much kills the design in landscape rotation. Managed to turn the rotation off for my apps with tabs, but can't find a way for non-tabbed layouts like with this tumblr menu :(
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 10:50 AM (11 years ago)
yep - need to turn off screen rotations. Try adding these two methods to the BT_tabBarController.m file: -(BOOL)shouldAutorotate { if ([[UIApplication sharedApplication] statusBarOrientation] != UIInterfaceOrientationPortrait) return TRUE; return FALSE; } -(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { return UIInterfaceOrientationPortrait; }
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 11:00 AM (11 years ago)
Why tabBarcontroller if I don't have tabs? Tried it anyway by replacing your code wight everything in the "//should rotate" part, but no change. Lots of people looking to turn off the rotations here, but only available for the tabbed layout unless you can fix it :-)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 11:01 AM (11 years ago)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 11:09 AM (11 years ago)
Try adding the above code to the BT_navController.m file as well.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 11:14 AM (11 years ago)
your code or mine?
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 11:16 AM (11 years ago)
Aaaaaaa, your code :-) It worked! You are the man! You should post it as fix in the 3.0 bug report thread ; should make many people happy :-)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/09/14 11:20 AM (11 years ago)
Well, there needs to be a bigger fix made, and needs to be made to the core. Ideally it will look to each plugin to see if the "shouldAutoRotate" method exists, if so use that value. If not, use a default value based on small or large device.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
01/09/14 11:36 AM (11 years ago)
understand, but honestly, if I had to wait for these bigger fixes, I would have no clients left, so very gratefull for everyone helping each other here. On a side note, it seems I can't put up a background image on the tumble menu, seems the color is overwriting it. Will look in the code.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.